while ($fetch_questions_from_db = mysqli_fetch_assoc($query_fetch_exam_details)) { $question_id = $fetch_questions_from_db[\'question_id\']; $main_question