RE: [PHP] isset

From: Date: Tue, 09 Jul 2002 22:42:55 +0000
Subject: RE: [PHP] isset
Groups: php.general 
Request: Send a blank email to php-general+get-106608@lists.php.net to get a copy of this message
This is what I was looking for. Thanks! Preston > -----Original Message----- > From: "Kevin Stone" <kevin@helpelf.com>@INTERNET@HHC > Sent: Tuesday, July 09, 2002 5:37 PM > To: Preston Wade; php-general@lists.php.net > Subject: Re: [PHP] isset > > <<...>> > <form method="post"> > <input type="submit" name="submit"> > </form> > > if (isset($_POST['submit'])){} > // or // > if (isset($HTTP_POST_VARS['submit'])) > > If register globals is ON you can access the variable directly.. > if (isset($submit)) {} > > Otherwise you can extract the post array before testing the variable.. > extract($_POST); > if (isset($submit)) {} > > Hope this gets you started. Read up on the manual. > http://www.php.net. > :) > -Kevin > > > ----- Original Message ----- > From: "Preston Wade" <Preston_Wade@hilton.com> > To: <php-general@lists.php.net> > Sent: Tuesday, July 09, 2002 4:20 PM > Subject: [PHP] isset > > > > 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 (#106608) next »