I am having trouble with PHP Includes. For some reason they wont work. I’ve tried different tuts but none seem to work or i just don’t get it. Can anyone help me?
@NevermoreMay 25.2003 — #What exactly are you trying to do? To include a file, just rename the page to .php and put this code in it: <?php include("FileToInclude.whatever"); ?>. The file you want to include can have any extension.
1) Put this code in the page you want to include the menu in: [code=php]include_once("pagetoinclude.htm")[/code] (Changing the filename in the parantheses)
2)Put the menu in the same directory as the file it's being included in.
3)See if it works - note that it will have to be run on a PHP-enabled server to work.