Adding a page in a page?

am i correct?

In a

i can add a php file?
somefile/page.php

how can i do this?

EXAMPLE ?

if i made a php page for my header…

how can i use that header page on my index.php?

<?php include 'header.php'; ?>

i figured it out …lol…

You can also use
[php]require ‘header.php’; ?>
[/php]to ensure that it loads, upon failure it will kill the script whereas “inlcude()” only sends a warning.

Sponsor our Newsletter | Privacy Policy | Terms of Service