I am in major need of help.. What I am hoping that can be done is the following have created 2 arrays one for questions and the second the answers to the questions.. So for my arrays work and when the page is parsed it creates the list of questions with a drop down box of the messages.
When I select the answer to the questions I want and submit the page I can the following post ( which I think I am doing right to get final result I need help with..
My Arrays:
$question1 = array(
"Whats your favorite fruit?"
);
$answers1 = array(
array ("Apples", "Pears", "Oranges", "Plums", "Bananas")
);
Submit Results:
HTTP_POST_VARS['Whats_your_favorite_fruit?'] = Oranges
Heed help with if it is possible.. I am trying to take the above post and put it into an array, so that I can enter it into the database as an array. Then extract it from the array when it is displayed on the page as results.
Array:
array ("Whats your favorite fruit?","Oranges");
Display Results:
Whats your favorite fruit? Oranges
Also will it work so when the users who answered the questions, returns the select list will have the answers he selected? Or am I way off all together...