Re: Another form handling posting question
| From: | Casey | Date: | Thu, 06 Dec 2007 06:48:23 +0000 |
| Subject: | Re: Another form handling posting question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265491@lists.php.net to get a copy of this message | ||
Hm. Tell me if this works:
<?php
if ($_POST['process'] == 'pass')
echo '<form action="success.php" method="post">';
else echo '<form action="recursive.php" method="post">';
?>
<button type="submit" name="process"
value="pass">Pass</button>
<button type="submit" name="process"
value="fail">Fail</button>
</form>
On Dec 5, 2007 9:30 PM, Mike Smith <mike.l.smith@comcast.net> wrote:
> I'm trying to
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-Casey