what's the best way to create a question and answer database Script
the user can ask a question with a set of options, among which there is a correct answer
the database should save the question, all options and the correct answer.
the best way that comes to my mind is to make 2 tables:
Question table:
- ID
- Question
- Right_Answer_ID
Selection table:
I use PHP and MYSQL for this, so if I use this method, it will be a little difficult to insert information into my database, because I need to insert a question and paste all the options and select the correct one. Right_Answer_ID for this identifier is a long process, and I'm sure there is a better way to achieve this, please HELP.
thank