<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->removeQuestionTest($_GET['question'], $member->id)) {
        echo "Delete not authorized";
    }
} else {
    // get result number
    $question = $_GET['questionNumber'];
    $quiz = $_GET['id'];
    ?>
<!--EDITED  BY YL ON 24aug, removed the contributes to and weightage dropdown list and added correct answer checkbox-->
<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="QuizQuestionTest.remove(<?php