ok well i will give you a more advanced one this time
index.php:
code:
<a href="./newpage.php?page=contact">Contact Page</a>
newpage.php:
code:
<?php
$page = $_GET["page"];
?>
<html>
<?php
switch($page){
case "contact":
echo "Contact Page";
break;
case "other":
echo "Other Page";
break;
default:
echo "Couldnt find page!";
break;
}
?>
</html>
click the link in index.php and the browser will then show:
Contact Page
... i hope this helps you out ...