| Current Path : /var/www/html/mmishra/irp/ipay/ |
| Current File : /var/www/html/mmishra/irp/ipay/home.inc |
<h3 align='left'>Welcome to iPay portal</h3>
<div align='right'><?php echo date("d M, Y h:i:s A");?></div>
<b>Student Summary</b>
<center>
<?php
echo "<table width='50%'>
<tr><th>Program</th><th>Batch</th><th>Category</th><th>Strength</th></tr>";
$rs = mysql_query("select program,batch,category,count(enrollno) as no from students15 group by program,batch,category");
while ($o = mysql_fetch_object($rs)) {
echo "<tr><td>$o->program</td><td>$o->batch</td><td>$o->category</td><td>$o->no</td></tr>";
}
echo "</table>";
?>