Jump to content

querystrings are not running


paulley23

Recommended Posts

hi

i have this code,

[code]
<?php

if ($home == "") {
require("page.php");
}
else if($home == "1") {
require("page1.php");
}


?>

[/code]

when i go to www.domain.com/h/ page.php shows but when i go to www.domain.com/h/?home=1 it should display page1.php but it displays page.php still

thanks for any help

paul
Link to comment
https://forums.phpfreaks.com/topic/24039-querystrings-are-not-running/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.