<td valign="top" class="desc" scope="row">Create a new option for this question</td>
    </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->removeQuestion($_GET['question'], $member->id)) {
        echo "Delete not authorized";
    }
} else {
    // get result number
    $question = $_GET['questionNumber'];
    $quiz = $_GET['id'];
    ?>
<div id="q<?php 
    echo $question;
    ?>
" class="questionWidget">
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
  <tr>
    <th width="25" scope="row"><a href="javascript:;" onclick="QuizQuestion.remove(<?php 
    echo $question;