Quote:
Originally Posted by nico_swd
Try
header(" Location: /signup.php?step=2");
EDIT:
Also, on a sidenote, you don't need the brackets {} if you only want to do one thing. So instead of
PHP Code:
if(!$step){$step=1;}
You can simply do this
PHP Code:
if(!$step) $step=1;
EDIT 2:
There should be quotes around the "yes".
PHP Code:
$agree == 'yes'
|
You can also use the switch statement, which in my personal opinion is alot cleaner than a bunch of if/elseif statements:
http://us3.php.net/switch