Pls can some one help me with code to show my header and footer
i tried
<?
include 'http://www.YOURSITE.com/header.php'
?>
but did not work
i tried
<?
include 'http://www.YOURSITE.com/header.php'
?>
but did not work
<?php
// Path to your document root
define('DOCROOT', realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR);
// Make sure "header.php" is saved in the same directory as "index.php"
include DOCROOT.'header.php';
<?php
// Path to your document root
define('DOCROOT', realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR);
// Make sure "header.php" is saved in the same directory as "index.php"
include DOCROOT.'header.php';
Comment