How to include a file in PHP

Submitted by:David Villa

Date added:27 October, 2011

Category:PHP

An example to include another PHP file into a PHP script

Tags: include php file

Code Snippet:

<?php
// Place this into your PHP page
// and edit the file name
include "some_other_file.php";
?>
 
 

Comments