RE: [PHP] Re: isset

From: Date: Tue, 09 Jul 2002 22:39:34 +0000
Subject: RE: [PHP] Re: isset
Groups: php.general 
Request: Send a blank email to php-general+get-106607@lists.php.net to get a copy of this message
Actually here is what I am trying to do. <?php if (isset($submit)) { echo "Submitted!"; } ?> <form action="<?=$PHP_SELF ?>" method="post"> blah, blah <input type="submit" name="submit" value="Submit"> </form> > -----Original Message----- > From: vins <vins@webonline.co.za>@INTERNET@HHC > Sent: Tuesday, July 09, 2002 5:35 PM > To: php-general@lists.php.net > Subject: [PHP] Re: isset > > i think what you're trying to do is > > <?php > if($REQUEST_METHOD == "POST") > { > echo "Form has been submitted."; > exit; > } > else > { > echo "Display the form that has to be submitted.': > exit; > } > ?> > > > "Preston Wade" <Preston_Wade@hilton.com> wrote in message > > news:0B2759D401C1D211ACA500805FFE2C3F06367588@cmxserv3.hilton.com... > > Hello All, > > > > I am trying to use the isset function to test if the page has been > > submitted, but it seems as though it is not working. I am wondering is > > there a configuration option that is messing with the functionality of > > isset. > > > > Any help would be appreciated. > > > > Thanks, > > Preston Wade > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#106607) next »