答案 0 :(得分:1)
试试这个misc符号,
<div class="container">
<a href="<?php echo base_url('Admin/display_promote_student');?>" class="btn btn-warning btn-flat margin pull-right">Previous</a>
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3>Student List</h3>
</div>
<div class="panel-body">
<table id="example1" class="table table-bordered table-striped">
<thead>
<tr>
<th>Serial no</th>
<th>Student Name</th>
<th>Course</th>
<th>Semester</th>
<th>Batch</th>
</tr>
</thead>
<tbody>
<?php
$i=1;
foreach ($promote as $row)
{
?>
<tr>
<td><?php echo $i++;?></td>
<td><?php echo $row['stud_name'];?></td>
<td><?php echo $row['c_name'];?></td>
<td><?php echo $row['sem_code'];?></td>
<td><?php echo $row['batch_year'];?></td>
</tr>
<?php }
?>
</tbody>
</table>
<?php $attributes = array("name" => "update");
echo form_open("Admin/promote_semester_processing", $attributes);?>
<input type="hidden" value="<?php echo $course;?>" name="course"/>
<input type="hidden" value="<?php echo $sem;?>" name="sem"/>
<input type="hidden" value="<?php echo $batch;?>" name="batch"/>
<div class="form-group">
<label>Semester</label>
<select class="form-control" name="newsem" required data-placeholder="Semester">
<option>--Semester--</option>
<option value="1">s1</option>
<option value="2">s2</option>
<option value="3">s3</option>
<option value="4">s4</option>
<option value="5">s5</option>
<option value="6">s6</option>
</select>
</div>
<button name="save" type="submit" class="btn btn-warning" >Promote Semester</button>
<?php echo form_close(); ?>
</div>
</div>
</div>
</div>
&#13;