View Single Post
Old 01-12-2008, 03:21 AM   #6 (permalink)
Zebedee
Noogle
 
Zebedee's Avatar
 
Join Date: Jan 2008
Location: Essex, England
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Zebedee is on a distinguished road
Instead of putting .html on the end of the file name, put .php
NB. Although I recommend saving your pages as .html and parsing them as .php however, this will render the code in shades of blue and as a new php coder perhaps it best to leave as php to make it easier to read code.
Whenever you want to write php code put "<?php" then start code on next line. At the end of the php code put "?>".

Also, don't get into the habbit of having both a index.html page and a index.php page on your root as this will be seen as duplicate content.
Zebedee is offline   Reply With Quote
The Following User Says Thank You to Zebedee For This Useful Post:
[ugly_cat] (01-14-2008)