Whats the difference between require() and include() in PHP
In : BCA Subject : PHP and MySQLPHP allows a developer to 'attach' more PHP to a process using either require() or include(), however there are significant variations between the two in terms of error handling.
The PHP process will throw a fatal error if the require() statement fails to load the required file.
The procedure will continue with a warning if the include() command fails to load the file to be included.