i'm pretty sure this is sumthing to do with php not my coding, thats why ive posted here. If anyone can help me out its be much appriciated
I've recently reinstalled php but i'm having sum trouble. When i try to pass variables thru the url ie
<?php echo "index.php?page='page2'";?>
it doesnt seem to work
i use an if statement to read it like
if($page=='page2')
{
//code for page 2
}
else
{
//code for page 1
}
all it does no matter what i try and do, is show page 1.