This is my code to display list of questions and 4 options( using option box). user has to select the correct option . Is it possible to store the user selected options in array variable. There may be 10 to 20 questions array variable should contain only option values.
This would need to happen after a user selects an option and submits the form. PHP is not available after the page has been sent to the user. Once they click submit, you can catch their response and place it in an array of some sort.
Look into PHP Sessions and serialized arrays to help your application remember a particular users answers across several pages of input.