|
my2cents (m)
|
1) To declare a PHP section, you should enclose your code within these tags:
<?php code goes here ?>
2) If you are using notepad (and this used to happen to me a lot), chances are that when saving your file, you aren't choosing "All files" under the "save as type" dropdown so that your "doc.php" is actually being saved as "doc.php.txt" (which you can verify by navigating to where you have the file saved and checking out its extension).
Try either or both of the 2 above and let us know if this helps.
Thanks,
|