[PHP] what's the matter?

2003-02-22 Thread X
index.php: form action=x.php method=postchoice your gender input type=radio name=gender value=male male input type=radio name=gender value=femalefemale input type=submit /form x.php: ?php if($gender=='') echo choice the gender; if($gender==male) echo you are male;

Re: [PHP] what's the matter?

2003-02-22 Thread Chris Hayes
At 14:36 22-2-2003, you wrote: index.php: form action=x.php method=postchoice your gender input type=radio name=gender value=male male input type=radio name=gender value=femalefemale input type=submit /form x.php: ?php if($gender=='') echo choice the gender; if($gender==male) echo you are

Re: [PHP] what's the matter?

2003-02-22 Thread Rick Emery
] what's the matter? index.php: form action=x.php method=postchoice your gender input type=radio name=gender value=male male input type=radio name=gender value=femalefemale input type=submit /form x.php: ?php if($gender=='') echo choice the gender; if($gender==male) echo you

Re: [PHP] what's the matter?

2003-02-22 Thread Ernest E Vogelsinger
At 15:03 22.02.2003, Chris Hayes said: [snip] Since PHP 4.1 form data are not automatically available as variables in the followup file. http://nl.php.net/release_4_1_0.php explains it all, for now it's enough to say - either turn register_globals on in