Re: Form Submission
| From: | Torsten Roehr | Date: | Tue, 06 Jul 2004 09:50:05 +0000 |
| Subject: | Re: Form Submission | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189782@lists.php.net to get a copy of this message | ||
"Shaun" <shaunthornburgh@hotmail.com> wrote in message
news:20040706093013.4287.qmail@pb1.pair.com...
> Hi,
>
> How can I check if a form has been submitted, I have seen a demo that uses
> the following:
>
> if(isset($HTTP_POST_VARS))
>
> But I understand that $HTTP_POST_VARS is depricated...
>
> Thanks for your help
Check the $_POST superglobal:
if (isset($_POST['name_of_your_button'])) {
}
Regards, Torsten