06-03-2005, 01:04 PM
|
#2 (permalink)
|
|
The Acquainted
Join Date: May 2005
Posts: 106
Thanks: 0
|
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
|
|
|