Why is the php get method value always 1? Here's my code.
echo isset($_GET['page']);
switch(isset($_GET['page'])){
case 'a':
echo '1';
break;
case 'b':
echo 2'';
break;
case 'c':
echo '3';
break;
case 'd':
echo '';
break;
case 'e':
echo '4';
break;
default:
echo '5';
}
And the value of the get method is always 1, showed in the first line code. Thanks for answering and helping me out to make a website.