本文整理汇总了PHP中Forms::return_event_select方法的典型用法代码示例。如果您正苦于以下问题:PHP Forms::return_event_select方法的具体用法?PHP Forms::return_event_select怎么用?PHP Forms::return_event_select使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Forms
的用法示例。
在下文中一共展示了Forms::return_event_select方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Forms
{%endfor%}
echo 'Correct is:';
$correct = reports.CorrectResponse
Correct Should be:<select name="correct_answer">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select><br/>';
<input type="Submit" value="Update Question" name="update"></form>
<form method="post" action="">
<input type=hidden name=idval value="{{reports.idQuestions}}"/>
<input type="submit" value="Close Report" name="close"/>
{%endif%}
</form>
</div>
{%endfor%}
</div>
<div><h2>Reset Event Numbering</h2></div>
<div>Use this to fix multiple questions showing up on a single event</div>
<form method="POST" action="" class="inline-form">
<select name="event">
<?php
$form = new Forms();
echo $form->return_event_select();
?>
</select>
<input type="submit" class="btn btn-warning" name="resetNumbering" value="Fix Event"/>
</form>
示例2: Forms
<option value="4">4</option>
<option value="5">5</option>
</select><br/>
<br/>
<input type="submit" value="Submit Question" name="MCQuestion"/>
</form>
</div>
<br/><br/>
<h2>Add a Fill in the Blank Question:</h2>
<div id="frq">
<form enctype="multipart/form-data" action="" method="POST">
Event:
<select name="event">
<?php
$Forms = new Forms();
echo $Forms->return_event_select();
?>
</select><br/>
<input type="hidden" name="MAX_FILE_SIZE" value="512000" /><Br/>
Upload Image: <input name="userfile" type="file" /><Br/>
Upload Image from URL: <input name="URL" type="text" /><Br/>
Question:(use !# to designate where the blank should be)<Br/>
<textarea name="inputquest" class="question_id" id="stylized"></textarea><br/>
Keywords that constitute a response, separated by a comma:<input type="text" name="keywords"/><br/>
<br/>
<input type="submit" value="Submit Question" name="FRQuestion"/>
</form>
</div>
</div>
<!--