Search This Blog

Tuesday, 20 January 2015

Include file in PHP.

We can include a file using "include() " or "require()" function with file path as its parameter.



Example:



<?php include("header.php"); ?>



<?php require("header.php"); ?>

No comments:

Post a Comment