Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Whats the difference between include() and require()?

Answer Posted / kathiresan n

You can insert the content of a file into a PHP file before
the server executes it, with the include() or require()
function.
The two functions are identical in every way, except how
they handle errors.
The include() function generates a warning but the script
will continue execution while the require() function
generates a fatal error and the script execution will stop
after the error.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which of the delimiter is ASP style?

1045


What PHP stands for?

989


What is overloading in php?

963


Explain setcookie() function in php?

979


What is user defined function in php?

931


What is difference Between PHP 5 and 7?

1043


Difference between get and post method.

961


Which php framework is in demand?

864


Can constructor be private in php?

985


What is difference between count or sizeof function in php?

955


Is php the same as html?

897


Tools used for drawing er diagrams?

959


How cookies are transported from servers to browsers?

943


How to create a session? How to set a value in session? How to remove data from a session?

933


What is a namespace in php?

916