Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP require() and include()
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
require() and include()
1 Answer(s)      3 years and 11 months ago
Posted in : PHP


hii,

What is the difference between require() and include() in php?


Advertisement
View Answers

October 29, 2010 at 3:21 PM


hello,

The require() statement includes and evaluates the specific file.require() results in a Fatal Error.

The include() statement includes and evaluates the specified file. include() produces a Warning.



Related Tutorials/Questions & Answers:
 

 

 

DMCA.com