sir i a student of 4th year i need some help in my project i m creating a online quiz 30 question and each question have 6 options which are check boxes and question have more then 1 ans so ,i ll select more then one check box so that how can i store this 30 questions which have multiple values how i can store this values at once please help me sir please please please help me i request u all help
shadab550
0
Newbie Poster
Recommended Answers
Jump to PostMultiple possible approaches just from top of head:
- Single table with columns - id, question, answer A,.... answer F, correct answer (A, C, D) will require the answer string to be split into array by comma "," delimiter
- Two tables
Table 1 - id, question, answer A,.... answer F
…
All 4 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
shadab550
0
Newbie Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
shadab550
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.