samar
require() and include()
1 Answer(s)      6 years ago
Posted in : PHP

hii,

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

Ads

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:

Ads

Advertisement