matt2kjones
09-29-2002, 10:10 AM
ok, i have a question about php, dunno if it is possible though
say i have a variable called $choice
can i do this sort of thing :
if ($choice == 1)
{
some code here to goto a page called choice1.php;
}
else
{
some code here to goto a page called choice2.php;
}
if so could you tell me the code to write which would take the page to choice1.php or choice2.php
cheers
say i have a variable called $choice
can i do this sort of thing :
if ($choice == 1)
{
some code here to goto a page called choice1.php;
}
else
{
some code here to goto a page called choice2.php;
}
if so could you tell me the code to write which would take the page to choice1.php or choice2.php
cheers
