webdev.ramyash@gmail.com

Web Development: Include file in PHP.


Include file in PHP

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