I want to figure out how to make my php files go URL?name=value.
For example - www.mysite.com/index.php?page=news
Can anyone tell me how i could accomplish that?
<?php if ($page == "news") { echo "News!"; } elseif ($page == "links") { echo "<b>Links!</b>"; } else { echo "<u>Index!</u>"; } ?>
<? include "$name.php"; ?>
<? echo "MYSITE.COM"; include "$name.php"; ?>