Posted by Geoff Berrow on 04/24/07 06:15
Message-ID: <IffXh.124$F11.40@bignews1.bellsouth.net> from Art contained
the following:
>I'm trying to use a conditional statement for posting a form with php. The
>problem i'm having is everytime I hit the submit button, i have to hit it a
>second time to get the form to post. I've checked the variable $holdchk and
>see that it's coming back as "0". Has anyone experienced this problem?
Try
<?php
if ($holdchk == 1 ){
echo "<form method=\"POST\" action=\"otherform.php\">";
}
else{
echo "<form method=\"POST\" action=\"someform.php\">";
}
?>
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
[Back to original message]
|