Quick PHP question
Quick PHP question
Out of context: Reply #18
- Started
- Last post
- 25 Responses
- JamesBoynton0
Hey Acescence, just playing with that just now, i have added this to my index page
<?php include ( $_SERVER [ ' DOCUMENT_ROOT ' ] . " nav.php ");?>
and it doesnt appear to work as the nav doesnt show up on the page, ill testing locally in mamp... any ideas or have i made a noob syntax error?
- try the $root variable method and set it to http://localhost:888… or whatever your site directory is set to..surface