i'm having a stupid moment here and cant figure out why the variables arnt passing
PHP Code:
if(!$step){$step=1;}
if(($step1 == 1) && ($agree == yes)){ header("/signup.php?step=2"); }
elseif(($step1 == 1) && ($agree != yes)){ header("/signup.php?warn=yes"); }
elseif(($step2 == 1) && ($agree == yes)){ header("/signup.php?step=3"); }
elseif(($step2 == 1) && ($agree != yes)){ header("/signup.php?step=2&warn=yes"); }
PHP Code:
<form method="post" action="signup.php">
<?if($warn==yes){?><b><?}?>In order to proceed, you must agree with the following Terms of Service:</b>
<table width="100%">
<tr>
<td colspan="2">
<div style="border:thin inset;background: #000022; padding:6px; height:175px; overflow:auto"><?=$html[1]?></div>
</td>
</tr>
<tr>
<td><input type="checkbox" name="agree" value="yes" style="background: #111111;"> <input type="hidden" name="step1" value="1"> <strong><nobr>I have read, and agree to abide by the Terms of Service.</nobr></strong></td>
<td align="right"><input type="submit" value="next >>"></td>
</tr>
</table>
</form>
that should be all i need to paste either its been too long since i've done any programming or i'm just an idiot either way its too hard getting back into things from a yr vacation