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 operator is used to combine string values in php?

898


How to block direct directory access in PHP?

936


What are the difference between array_keys() and array_key_exists() in php?

1027


How does csrf token work?

973


What is the difference between single quoted string and double quoted string?

1013


Are react hooks stable?

898


What is the use of ajax in php?

959


What are the advantages of stored procedures, triggers, indexes in php?

995


How cookies are transported from browsers to servers?

908


Tell me what are the correct and the most two common way to start and finish a php block of code?

924


What is the function of mysql_real_escape_string in php?

895


What is boolean in php?

944


How is it possible to cast types in php?

934


Why php was called as personal home page?

939


Why is overriding runtime?

956