ITP

BCA - PHP and MySQL

Whats the difference between require() and include() in PHP

In : BCA Subject : PHP and MySQL

PHP 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.

About us

A truly open platform where you may ask questions and get answers. We also provide comprehensive and easy-to-understand answers to question papers.  discover...

Site status

Flag Counter

Privacy Policy

Sitemap