ok

Mini Shell

Direktori : /home/ngwcolle/public_html/
Upload File :
Current File : /home/ngwcolle/public_html/student-capacity.php

<?php include"header.php";
date_default_timezone_set('Asia/Kolkata');
include "admin/includes/config.php";
?>
<section class="inner-banner"></section>
<section class="breadcrumb-sec">
  <div class="container">
        <div class="row">
            <div class="col-md-12">
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="index.html">Home</a></li>
                        <li><i class="fa fa-caret-right" aria-hidden="true"></i></li>
                        <li class="breadcrumb-item">Student Strength</li>
                    </ol>
                </nav>
            </div>
        </div>
    </div>
</section>
<section class="section-15 about-section" id="body">
    <div class="container">
      <div class="row">
        <div class="col-md-9">
          <div class="title">
            <h1><span>Student Strength</span></h1>
          </div>
          <table class="table mt-2" style="border-collapse:collapse;" align="center" cellspacing="0" cellpadding="0" width="100%" border="0">
    <tbody>
        <tr style="font-size:18px;">
            <th align="center" width="41">Sl.No.</th>
            <th align="left" width="784">Subject Name</th>
            <th align="center" width="172">Stream</th>
            <th align="center" width="176">Strength</th>
        </tr>
        <?php 
$query=mysqli_query($con,"select * from tbl_subject order by strem asc");
$cnt=1;
while($row=mysqli_fetch_array($query)){
?>  	
  <tr>
    <td><?php echo $cnt;?></td>
    <td><?php echo $row['subname'];?></td>
    <td><?php echo $row['strem'];?></td>
    <td><?php echo $row['capacity'];?></td>
  </tr>
 

                           <?php 
                           $cnt++;
                           } ?>
       
       
      
    </tbody>
</table>		  <!--for department start-->
						<!--for department end-->
        </div>
       <?php include"sidebar.php";?>
    </div>
</section>
<?php include"footer.php";?>

Zerion Mini Shell 1.0