jammer1221
Programmer
Hi I have a PHP question about using a sorta if statement...i was wondering if it was possible to write soemthing were you get a varible from another page an if that varible is for example y then write You choose y or something like that....
I'm not sure if this will work or if theres something like this you can do in PHP well thanks in advance
Jammer1221
Code:
<?PHP
choice = $_REQUEST['choice'];
if choice != y
echo("You didnt choose y");
else
echo("You choose y")
?>
Jammer1221