本文整理汇总了PHP中Select::institutoSelect方法的典型用法代码示例。如果您正苦于以下问题:PHP Select::institutoSelect方法的具体用法?PHP Select::institutoSelect怎么用?PHP Select::institutoSelect使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Select
的用法示例。
在下文中一共展示了Select::institutoSelect方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Select
<label for="curso" class="col-sm-2 control-label">Nome do curso:</label>
<div class="col-sm-10">
<input type="text" value="<?php
echo $comp->nome;
?>
" class="form-control" name="nome" id="curso" placeholder="Digite o nome aqui" required>
</div>
</div>
<div class="form-group">
<label for="inst" class="col-sm-2 control-label">Instituto:</label>
<div class="col-sm-10">
<select class="form-control" name="instituto" id='inst' required>
<option value=""></option>
<?php
$instituto = new Select();
$instituto->institutoSelect($comp->instituto);
?>
</select>
</div>
</div>
<div class="form-group">
<label for="desc" class="col-sm-2 control-label">Descrição:</label>
<div class="col-sm-10">
<textarea class="form-control" name="texto" id="desc" rows="8" placeholder="Digite aqui..."><?php
echo $comp->texto;
?>
</textarea>
</div>
</div>
<div class="form-group">
<label for="logo" class="col-sm-2 control-label">Logo:</label>
示例2: Select
<form class="form-horizontal" id="form_curso" method="post" action="CrudCursos.php" enctype="multipart/form-data">
<div class="box-body">
<div class="form-group">
<label for="curso" class="col-sm-2 control-label">Nome do curso:</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="nome" id="curso" placeholder="Digite o nome aqui" required>
</div>
</div>
<div class="form-group">
<label for="inst" class="col-sm-2 control-label">Instituto:</label>
<div class="col-sm-10">
<select class="form-control" name="instituto" id='inst' required>
<option value=""></option>
<?php
$instituto = new Select();
$instituto->institutoSelect();
?>
</select>
</div>
</div>
<div class="form-group">
<label for="desc" class="col-sm-2 control-label">Descrição:</label>
<div class="col-sm-10">
<textarea class="form-control" name="texto" id="desc" rows="14" placeholder="Digite aqui..."></textarea>
</div>
</div>
<div class="form-group">
<label for="logo" class="col-sm-2 control-label">Logo:</label>
<div class="col-sm-10">
<input id="logo" name="logo" class="file" type="file" multiple data-min-file-count="0">
</div>