Home Answers Viewqa PHP require() and include()

 
 


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

hii,

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

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 Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.