hey there guys...
im using sessions to construct a user sign up form, which is spread over 4 stages, to make sure that the previous pages was what it was supposed to be... i tried to make it such that the first thing to happen is if signup = '0', once the form has been submitted it would go on to if singup ='1'...
the basic layout is as follows:
start_session(); //called signup..
if($signup == '0') {
do stuff1
$singup++;
} elseif($signup == '1') {
do stuff2
$singup++;
} elseif($signup == '2') {
do stuff3
$singup++;
} elseif($signup == '3') {
do stuff4
$singup++;
} elseif($signup == '4') {
do stuff5
$singup++;
}
session_register('signup');
question... would this script run all the way through and do stuffs 1 to 5 due to the presence of $signup++... if you understand that?!?
stew