I'm not sure if this is Apache or PHP doing this or what.
I want to be able to use URLs with variables, like
index.php?page=mpd
but it won't work.
I run Apache 1.3 on Windows with PHP 4.06 and MySQL.
The really wierd part is that up until about 2 weeks ago it worked. I think my computer crashed and after I rebooted it didn't work, but my computer had crashed before without these results.
I have the if statements all set up to check for certain strings in the $page variable and an else clause for the home page like below:
if ($page == "mpd") {
//code for the mpd page
} elseif ($page == "ringo") {
//code for the ringo page
} elseif ($page == "links") {
//code for the links page
} elseif ($page == "contact") {
//code for the contact page
} elseif ($page == "pics") {
//code for pics page
} else {
//code for home page
}
Any and all help is appreciated!
-SoC