PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
if ( isset ( $_GET['page'] ) )
{
switch ( $_GET['page'] )
{
case 'home':
echo 'This is the home page.';
//or if you have a main homepage you can do like:
//include("home.html");
break;
case 'downloads':
echo 'this is downloads page..';
//include("downloads.html");
break;
case 'contact':
echo 'this is contact page.';
//include("contact.html");
break;
} // end switch
} // end if
?>