online mcqs data base driven

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ijazktk
Forum Newbie
Posts: 1
Joined: Sat May 23, 2009 2:10 pm

online mcqs data base driven

Post by ijazktk »

dear pros,
i am working on a project where we have online mcqs>i will ecplain it and will tell where i need the help.
when a person open the site he wil be asked to enter his name, and as he click submit a table with his name will be created, the next page will show al the mcqs to him with a textbox orany selection tol e.g radio button the user will select option for all question and will press the submit button NOW HERE I GETCONFUSED, as i used repeat region to get all the mcqs from the data base but when i fil all the radiobuttn andpress submuit i get vaue ofonly the last one, while i want to insert the answers of al using one submit button.
so tell me now how can i do that so i may fill all the texboxes/radio button and press button and it add the selected value to the database NOTE THAT the radio buttn are included in repeat region and i dont want to write seperate mcqs with seperate radio buttons which can be done by simple insert quert.
plz help
Post Reply