本文整理汇总了PHP中Participant::get_school方法的典型用法代码示例。如果您正苦于以下问题:PHP Participant::get_school方法的具体用法?PHP Participant::get_school怎么用?PHP Participant::get_school使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Participant
的用法示例。
在下文中一共展示了Participant::get_school方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
>7</option>
<option value="8" <?php
echo $person->grade == 8 ? "selected=='selected'" : null;
?>
>8</option>
</select>
<!--They asked for a field to show when the grade was last entered. (obviously the grade will change from year to year)-->
<span class="basic_info_edit">As of year: <input type="text" id="enter_grade_year" class="basic_info_edit" style="width:50px;"></span>
</td>
</tr>
<tr>
<td><strong>School:</strong></td>
<td>
<span class="basic_info_show"><?php
echo $person->get_school();
?>
</span>
<select class="basic_info_edit" id="school_edit"/>
<option value="0">-----</option>
<?php
$all_schools = "SELECT * FROM Institutions WHERE Institution_Type=1 ORDER BY Institution_Name";
include "../include/dbconnopen.php";
$program_info = mysqli_query($cnnEnlace, $all_schools);
while ($temp_school = mysqli_fetch_array($program_info)) {
?>
<option value="<?php
echo $temp_school['Inst_ID'];
?>
" <?php
echo $temp_school['Inst_ID'] == $person->schoolid ? "selected='selected'" : null;