阅读背景:

Laravel数据库很多到很多(Mysql)或将Json保存在表中

来源:互联网 

I need an advice i am using laravel and im not sure if i should go many to many (mysql) or stay with Json which is encoded in table (rest of the code works fine), hopefuly i will be able to explain it correctly. So here goes, the user has to solve an exam which has questions, and questions change on a button click (every question is on the same div, content is changed on click with jquery) , so when user presses start it shows question with 3 (for example) radio boxes as answers from which one is correct. After the user selects answer form radio buttons and clicks next his answer (value) is stored in session and then the same div shows different question and so on. Once the user gets to the last question his answers are taken from Session and sent to an email. So now for the code part, Structure of exam table.I need an advice i am using laravel and im not




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: