if you follow a link index.php?help then in index.php you can get the url variable like so...
$urlvar = getenv(QUERY_STRING);
echo $urlvar; //outputs "help"
i think there's a way of having these automatically put into variables, so you could call index.php?urlvar=help and it would set the variable for you, but i'm not sure.