jeudi 24 novembre 2016

Laravel 5.3 finding correct option of 4 options of an Mcq

I have an ''MCQ'' saved in my database which has 4 ''options''. Each option has a ''answer'' boolean column to show whether an option is true or false. Now I have the ''MCQ'' object with its ''options''. So, without making any query how can i find the correct option object in my controller



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire