Hi Comrades
I have a problem here’s what I want to do !
I have a three step registration form
Step1
Choose Interest $_POST['Interest']
Choose Subject $_POST['Subject']
Choose Level $_POST['Level]
Step2
Choose Country $_POST['County’]
Choose Town $_POST['Town']
Step 3
Enter contact name $_POST['Name']
Enter contact number $_POST['contact_number]
In step 3 you can either (A) proceed to checkout, or (B) register another interest
The problem is how do I store the values if a user wants to register for example 3 interests.
Do I use arrays if so How do I do it, do I use OOP if so does anyone know a good tutorial.
The second problem is this if the user has now registered 3 Interests I want to be able to confirm their chooses before they proceed to checkout, hence I want to be able to show them all there chooses but I also want them to be able to delete an Interest if they want.
So for example if they want to delete the second interest, how is this done if it’s an array
Or part of a class
I’m very confused as to how this is done, is there any good book I can get.
Regards
Graham
I have a problem here’s what I want to do !
I have a three step registration form
Step1
Choose Interest $_POST['Interest']
Choose Subject $_POST['Subject']
Choose Level $_POST['Level]
Step2
Choose Country $_POST['County’]
Choose Town $_POST['Town']
Step 3
Enter contact name $_POST['Name']
Enter contact number $_POST['contact_number]
In step 3 you can either (A) proceed to checkout, or (B) register another interest
The problem is how do I store the values if a user wants to register for example 3 interests.
Do I use arrays if so How do I do it, do I use OOP if so does anyone know a good tutorial.
The second problem is this if the user has now registered 3 Interests I want to be able to confirm their chooses before they proceed to checkout, hence I want to be able to show them all there chooses but I also want them to be able to delete an Interest if they want.
So for example if they want to delete the second interest, how is this done if it’s an array
Or part of a class
I’m very confused as to how this is done, is there any good book I can get.
Regards
Graham