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

List some sorting functions in php?

953


What is env in laravel?

1022


How to generate a character from an ascii value?

1198


How is it possible to know the number of rows returned in result set?

997


Explain Whitespace Characters?

1052


Write a hello world program using variable?

937


What is the php function that removes the first element of the array and returns it?

968


What is the difference between apache vs niginx?

1058


What is xss and csrf?

930


Explain the difference between static and dynamic websites?

989


What are variables in research examples?

1078


What is the difference between client-side and server-side programming?

1098


What is the difference between php and core php?

943


What is escape data in php?

941


How to write php function in html onclick?

943