Ok...I've been trying to get this $id=page thing to work on my localhost, to save me time with interfaces etc for each page...my code is as follows
<?php
if ($page=="downloads") {
include ("downloads.txt");
}
elseif ($page=="information") {
include ("information.txt");
}
elseif ($page=="staffjoin") {
include ("staffjoin.txt");
}
elseif ($page=="staff") {
include ("stafflist.txt");
}
elseif ($page=="features") {
include ("features.txt");
}
elseif ($page=="previews") {
include ("previews.txt");
}
elseif ($page=="reviews") {
include ("reviews.txt");
}
?>
and obviously Im using the home.php?page=reviews thing. But when testing on my localhost, the page refreshes...but no content goes into the table where it's supposed to, but when I try it on my hosting service...it works no problem. I don't understand what the problem is.
btw I'm running XP Pro, Apache Server 2.0.46 and PHP 4.3.1.