Hey, here's some code:
switch ($_GET["content"]) {
case "1":
include("./1_content.html" );
break;
case "2":
include("./2_content.html" );
break;
default:
echo("nothing!" );
}
That works perfectly... But what can I do about having the page not
show undefined index errors if they don't insert ?content= at the end
of the address?
Thanks,
iwp506@gmail.co m
switch ($_GET["content"]) {
case "1":
include("./1_content.html" );
break;
case "2":
include("./2_content.html" );
break;
default:
echo("nothing!" );
}
That works perfectly... But what can I do about having the page not
show undefined index errors if they don't insert ?content= at the end
of the address?
Thanks,
iwp506@gmail.co m
Comment