Quote:
|
Originally Posted by brizzad
If i'm doing this within the <?php and ?> tags, do I need to still do the whole thing
<?php include("file"); ?>
or can I just do
include("file");
|
If you're already inside a pair of <?php ?> tags then you don't need to put them again... You might also want to consider putting a @ in front of the include (@include('file.html');). That way if there's an error and it's not found it won't print out one of those ugly php messages that shows your path etc.