Originally Posted by jj72ny
What I am looking for is just to put something kinda like css dose with styles. With an external page that would load to the top of each page with my logo and a menu bar.just so I don't have to put a bunch of coding at the top of each page just like a link or something. Php will do this?
If you use an include, say you have a some html for your header. You code that html into a php file, just the html itself no doctype or anything like you normally would, Ill say its called mainheader.php and it's in your root folder under /includes/
the content so mainheader.php could be something like :
then right after the body tag in every php page you do this
<?php include( $_SERVER['DOCUMENT_ROOT'].'/includes/mainheader.php'); ?>
This is also assuming you link your css file in the head of the document.