RonnyNishimoto
08-03-2012, 11:47 AM
<?php if(($_GET['m'] == "search") || (!isset($_GET['m']))) { ?>
a
<?php }
elseif ($_GET['m'] == "guide") { ?>
b
<?php } ?>
I thought !isset would make the default page search.php have "a"
But I get Notice: Undefined index: m...
Thank you :)
a
<?php }
elseif ($_GET['m'] == "guide") { ?>
b
<?php } ?>
I thought !isset would make the default page search.php have "a"
But I get Notice: Undefined index: m...
Thank you :)