Hi, i have been working on some code, to do this, but i just cant get it...
i need it to do (in english) this:
First check if post vars have been submitted
|
______|______________________
| |
if they havent, if they have go into process mode and check each
display a form var against functions i have IF
______________|___________________
| |
there are errors they get it right first
put the error in errror_array go
BUT still keeep checking, and display |
the form again UNTIL redirect to unconfirm
| ed.php
they get the valus right and then it
header(Location unconformed.php);
(Edited above chart to what I think you wanted and put it inside of "code" tags - NogDog)
I have used a lot of if statements, and it worked, but if they made an error it was impossible to get it right and go to next page.
i need sort of one statement that checks the var, and if true, keeps going, but if false executes some code BUT STILL keeps going, then checks at the end for any errors, and if none then redirects...
Thanks in advance
... i hope the flowchart comes out right