| Current Path : /var/www/html/mmishra/icure/patient/ |
| Current File : /var/www/html/mmishra/icure/patient/medications.inc |
<h3 align='left'>Medications</h3>
<?php
$tbl = 'medications';
$regno = $_REQUEST["regno"];
?>
<table border='1' width='60%'>
<tr><th>Sr</th><th>Medicine</th><th>Qty</th><th>Date Time</th><th>Staff</th></tr>
<?php
$rs = mysql_query("select * from $tbl where reg_no=$regno order by med_id");
while ($o = mysql_fetch_object($rs)) {
$i++;
echo "<tr><td>$i</td>
<td><a href='staff/?pg=$pg®no=$regno&disid=$o->dis_id'>".medicine_detail($o->med_id)."</a></td>
<td align='center'>$o->qty</td>
<td align='center'>$o->dis_datetime</td>
<td align='center'>$o->login_id</td>
</tr>";
}
?>
</table>