View Single Post
  #8 (permalink)  
Old 03-24-08, 03:31 AM
Jay6390's Avatar
Jay6390 Jay6390 is offline
Code Master
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,330
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by cssgopher View Post
Okay, thanks, so I need to put everything in php opening and closing tags

Do I also include the DOCTYPE at the top in the php tags?
Absolutely not. The only thing that goes in between <?php and ?> are PHP statements such as echo, file_get_contents etc. your (X)HTML/CSS etc will not work inside the tags and will cause numerous errors
__________________
Useful Tutorials
[ PHP Video-1-2-3 ] [ MySQL 1-2-3 ]
For any php function reference type

www.php.net/FunctionName
Reply With Quote