Posts: 485
Name: Chip Johns
Location: Savannah Georgia
|
As Chris says, If your server is running on a Windows box iss can be set to parse include files and you give your files shtml extension (file.shtml).
Ask your hosting company if your server is running php. If it is then you can..
Looking at your question again. Here is the answer to how to include php statemtnts in your html *code*... It actually isn't an html file as you need to give the file an php extension (file.php) so technically it isn't an html file even though it does posess html code.
PHP Code:
<?php include(file.inc); ?>
This includes the file. Remember that for this to work, your server needs to be running php, and the file must have php extension.
|