A
Anonymous
Guest
Hi, Im having a problem with a very simple script im doing. I have links that link to the page itself with ?page=<something> at the end. Now i have the following script:
Now for some reason, eve if i type index.php?page=about it still allways thinks that the page variable is not set (!isset), What could be the problem?[/url]
Code:
<?php
if(isset($_POST['page']))
{
$page = $_POST['page'];
if($page == "about")
{
include("about.dat");
}
} else
{
include("main.dat");
}
?>