get_results($wpdb->prepare("SELECT ID,question,explanation FROM wp_quiz_question WHERE quiz_id=%d ORDER BY ID", $quiz_id));
if($all_question) {
if(!isset($GLOBALS['quizzin_client_includes_loaded'])) {
?>
" . t('All the questions in the quiz along with their answers are shown below. Your answers are bolded. The correct answers have a green background while the incorrect ones have a red background.') . "
";
foreach ($all_question as $ques) {
$result .= "
";
$result .= "
". stripslashes($ques->question) . "
\n";
$all_answers = $wpdb->get_results("SELECT ID,answer,correct FROM wp_quiz_answer WHERE question_id={$ques->ID} ORDER BY sort_order");
$correct = false;
$result .= "