This is my first post here as I am a student that is just learning (getting dangerous with) HTML but I have a problem that I understand could be helped with php coding.
The reason I want to use this is to cut down on the amount of coding on each page and when changes need to be done on either 'header' or 'footer' it could be done on just the one page instead of working on all 50 pages.
The site I am working on is . I want to put this php code on each page of the site:
[B]<div> <?php include("header.php"); ?> </div>[/B]
The text in this
[B]<table> <tr> <td> <img src="images/cornerlizard.jpg" width="150" height="110" alt="Little Lizard" /> </td> <td width="50px"></td> <td width="75%"> <center><h2><font face="Lucida Sans Unicode, Lucida Grande, sans-serif" color="white">Terri the Lizard Lady<br /> The finest in<br/>Rhacodactylus Geckos<br />since 2003</font></h2></center> </td> <td> <img src="images/gecko-02.jpg" width="150" height="110" alt="Little Lizard" /> </td> </tr> </table>[/B]
How do I make the header.php page so that this works?
I figure once I have this figured out I can do the same with the footer for each page.
I went on a site that had this and here is what I found:
[B]<html> <body> <?php include("header.php"); ?> </body> </html>[/B]
I tried this but nothing happened.
One more question:
Will this idea also work with a java script that I use for the menu?
My E-Mail address is: dennis [at] mia [dot] net