Re: isset
| From: | Kevin Stone | Date: | Tue, 09 Jul 2002 22:38:45 +0000 |
| Subject: | Re: isset | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106606@lists.php.net to get a copy of this message | ||
Look at that we get an easy question and 50 people reply. Today has just
been our day for spam. *LOL* :)
-Kevin
----- Original Message -----
From: "Kevin Stone" <kevin@helpelf.com>
To: "Preston Wade" <Preston_Wade@hilton.com>; <php-general@lists.php.net>
Sent: Tuesday, July 09, 2002 4:37 PM
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
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>