jeudi 30 août 2018

Get Possible Random Result

How to get combination result while random my table. I have a table as Question_id, Question_Ans_id Q1 A1 Q1 A2 Q1 A3 Q1 A4

I would to random the question_as_id so i can have records such as Question_id, Question_Ans_id Q1 A1 Q1 A2 Q1 A3 Q1 A4 Question_id, Question_Ans_id Q1 A1 Q1 A3 Q1 A4 Q1 A2 Question_id, Question_Ans_id Q1 A1 Q1 A4 Q1 A2 Q1 A3 Question_id, Question_Ans_id Q1 A1 Q1 A2 Q1 A4 Q1 A3

and all possible result.

Please help.




Aucun commentaire:

Enregistrer un commentaire