Geez for some reason I'mjust having retarded issue this month...
My php script for navigation is justnot working at all...
This is the script I do believe.. (I'm not looking at it currently, I'm writing from my head, but you should get the idea even if i write it wrong)
No matter what, the script is going stright to the else part of the statement... This script was not changed and it was working before. It just stopeed working at some point.... An ideas as to why..?
by the way it works with links like these:
My php script for navigation is justnot working at all...
This is the script I do believe.. (I'm not looking at it currently, I'm writing from my head, but you should get the idea even if i write it wrong)
| Code: |
| if file_exists($id.php)
{ include ('$id.php'); } elseif file_exists($id.html) { include('$id.html'); } else { include ('main.php') } |
No matter what, the script is going stright to the else part of the statement... This script was not changed and it was working before. It just stopeed working at some point.... An ideas as to why..?
by the way it works with links like these:
| Code: |
| <a href="$id=news">News</a> |
