samar
require() and include()
1 Answer(s)      4 years and 6 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: