本文整理汇总了PHP中Quiz::removeQuestionTest方法的典型用法代码示例。如果您正苦于以下问题:PHP Quiz::removeQuestionTest方法的具体用法?PHP Quiz::removeQuestionTest怎么用?PHP Quiz::removeQuestionTest使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Quiz
的用法示例。
在下文中一共展示了Quiz::removeQuestionTest方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: while
<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