I am new to PHP. In another thread it was mentioned that I could use PHP as a sidebar, footer etc and used in many HTML files. So I have tried a test. I have created the following 2 files sidebar.php footer.php I have tried to call them in an HTML using <?php include('sidebar.php'); ?> <?php include('footer.php'); ?> Nothing happens. If I goto the php page alone if show OK Here is the actual files http://.www.airtekltd.com/test1.htm http://www.airtekltd.com/sidebar.php http://www.airtekltd.com/footer.php Any help would be most appreciated.
It needs to be in a PHP-parsed document. Easiest way would change the file extension on test1 to test1.php
Great thank you, Now what would the hard way be? In the end I will have around 400 pages to open and change all the links on the page from htm to php. Also what would changing the extension on 400 pages do to my google and other listings? Changing the file names is not a problem but we are talking days and days of work to change all the contents. Is there an easier way to do this? Or should I take this to a new thread?