You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$query = $dbcon->prepare("SELECT * FROM chapter WHERE courseid = :courseid AND chapterid IN (SELECT DISTINCT chapter FROM question WHERE courseid = :courseid ORDER BY chapter)");