Thread: a nav bar
View Single Post
Old 04-06-2007, 10:48 AM   #10 (permalink)
I-Got-IT!
Inactive
 
Join Date: 03-31-07
Posts: 39
iTrader: 0 / 0%
Latest Blog:
None

I-Got-IT! is liked by many
Quote:
Originally Posted by DaveyBoy View Post
PHP includes are simple, you don't have to know PHP really.

Just insert this code wherever you want your nav to appear :

Code:
<?php include("nav.php"); ?>
Obviously, your navigation will go on a page called nav.php and all pages it is on must have the .php extension.
Yes, PHP includes is always the easiest! IFrames can be used for this case as well, but I'd suggest PHP includes.
I-Got-IT! is offline   Reply With Quote