Now I have made scripts that would work by going /?id=1 on the domain.
Then on that index.php I would have some code like
<php
if ($_GET['id'] == 1) echo "some text";
else echo "some other text.";
?>
But my question is, how would you create a similar page where all you would have to do it put in the address bar /?=1
Maybe if that doesn't make sence
<?php
$myvar = $_GET['what would I put here so I can check it's value for 1'];
?>