PHP Include
Can be used multiple times:
<?php include("navigation.php"); ?>
Once only:
<?php include_once("navigation.php"); ?>
Including from the root:
<?php $path = $_SERVER['DOCUMENT_ROOT']; $path .= "/common/header.php"; include_once($path); ?>
No comments:
Post a Comment