<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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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

Reply via email to