Well, folks, I have to apologize...I fixed it by using the $_GET function:
if ($_GET['type'] == NULL) {
$type = 'home';
} else {
$type = $_GET['type'];
}
It makes good sense why I should have been using it all along, but I'm still curious how the code worked on the hosted server. If anyone has an explanation I'd love to hear it!
Thanks again for the help.
Forum:
WampServer English