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 <[EMAIL PROTECTED]>@INTERNET@HHC
> Sent: Tuesday, July 09, 2002 5:35 PM
> To: [EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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