can I use that tag in a php file to include a regular html file?
Can I use <? include("filename....
Collapse
X
-
-
yup yup..Your Paysite Partner
Strength In Numbers!
StickyDollars | RadicalCash | KennysPennies | HomegrownCashComment
-
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.Originally posted by brizzadIf 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");Comment
-
okay great, thanks!Originally posted by TempestIf 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.
thanks everyone else tooComment


Comment