View Single Post
Old 06-03-2005, 01:04 PM   #2 (permalink)
jaswinder_rana
The Acquainted
 
Join Date: May 2005
Posts: 106
Thanks: 0
jaswinder_rana is on a distinguished road
Default

ok here's the whole idea, if you won't get it then ask again to explain in full.
NOTE: i would prefer not to use
if():
endif;
but, i would prefer
if()
{}

the second approach is more clear
PHP Code:
if (isset($_GET['addgame']))
{
// do the form to add game
}
elseif(if (isset(
$_GET['playgame']))
{
  
//show the code toplay the game
}
elseif(isset(
$_GET['delgame']))
{
 
//Delete the game
}
else
{
  
// Home page display

i think you got the idea. again feel free to clear any misunderstandings.
__________________
---------------------------
Errors = Improved Programming.
Portfolio
Send a message via MSN to jaswinder_rana
jaswinder_rana is offline  
Reply With Quote