mercredi 7 décembre 2016

MySQL query to show questions in sequence when it is passage questions else random

enter image description here

I have tried this code but it is not working.

$select=$conn->query("select * from tbl_testquestion ORDER BY SUBSTRING( type_id=0 qu_id RAND() ) , type_id=1 qu_id ASC");

please suggest edit if question not reached the standards




Aucun commentaire:

Enregistrer un commentaire