</tr>
  </table>
</div>
<?php 
                $question++;
            } while ($row_getQuery = mysql_fetch_assoc($getQuery));
        }
    }
} elseif (isset($_GET['delete'])) {
    // delete the question
    require 'member.php';
    require 'quiz.php';
    // also pass in the member id for security check
    $quiz = new Quiz($_GET['id']);
    $member = new Member();
    if (!$quiz->removeQuestionMulti($_GET['question'], $member->id)) {
        echo "Delete not authorized";
    }
} else {
    // get result number
    $question = $_GET['questionNumber'];
    $quiz = $_GET['id'];
    ?>

		<?php 
    if ($mode == "simple") {
        //FOR NEW SIMPLE MODE
        ?>
<div id="q<?php 
        echo $question;
        ?>