How to include files in php?

PHP provides the `include` and `require` statements to include the content of one PHP file into another.

Example:

  include 'filename.php';
  
Solution:

  require 'filename.php';
  

Beginner's Guide to PHP