javascript - Store dynamic Questions to MYSQL -


i have question. i'm doing php page contains section "create exam". have button creates question , button inside create responses. user creates exam choose number of questions , answers of exam. after this, must choose correct answer of question via checkbox.

my question is: how can store in mysql?

make 2 tables:

table_name: questions

fields

question_id - int(11) pk
question_text - text
question_created_datetime - datetime

table_name: answer

fields

answer_id - int(11) pk
question_id - int(11) fk
answer_text - text
answer_added_datetime - datetime


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -