| Current Path : /var/www/html/mmishra/istore/ |
| Current File : /var/www/html/mmishra/istore/issueditems.inc |
<h2 align='left'>Items Issued</h2>
<center>
<table width='50%' border='1' style='border-collapse: collapse'>
<tr><th>No.</th><th>Dated</th><th>Qty Issued</th></tr>
<?php
$tbl = 'st_stockout';
$dated = $_REQUEST["dated"];
$rs = mysql_query("select date(dated) as idate,sum(qty_out) as no from $tbl group by idate desc");
/* fetch values */
while ($o = mysql_fetch_object($rs)) {
$i++;
echo "<tr><td>$i</td><td>$o->idate</td><td>$o->no</td></tr>";
}
?>
</table>
</center>