Forum Moderators: coopster
elseif ($_GET['id'] == "1")
{ $page="1.txt"; }
elseif ($_GET['id'] == "2")
{ $page="2.txt"; }
else
{ $page="1.txt"; }
include($page);
Any ideas would be appreciated,
regards,
Tom.
Good luck!
elseif ($_GET['id'] == "1")
{ $page="1.txt"; }
elseif ($_GET['id'] == "2")
{ $page="2.txt"; }
else {
header("Location: error.html");
exit();
}
include($page);
Best of luck!