Re[2]: [PHP] Form Variables
| From: | Stuart Dallas | Date: | Sat, 08 Jun 2002 01:31:43 +0000 |
| Subject: | Re[2]: [PHP] Form Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101228@lists.php.net to get a copy of this message | ||
On Saturday, June 8, 2002 at 2:22:02 AM, you wrote:
> I just read the release notes and do not believe they are referring to my
> dilemma.
Actually, I think they point out the exact reason for your 'dilemma'.
> Here is the code I am using. Just a basic form
> <<Form_act.php>>
> <?
> if ($phrase){ echo "Phrase-- $phrase";}
> Else{ echo "No Variables";}
?>>
Try changing the above code to...
<?
if ($_GET['phrase']) { echo "Phrase-- ".$_GET['phrase'];}
else { echo "No Variables";}
?>
--
Stuart