Server IP : 162.240.98.243 / Your IP : 3.144.94.190 Web Server : Apache System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : btiyawmy ( 1003) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/btiyawmy/public_html/login.easenup.in/ |
Upload File : |
<div class="card-body"> <table id="example2" class="table table-bordered table-hover"> <thead> <tr> <div class='card-header d-flex p-0'> <ul class='nav nav-pills ml-auto p-2'> <th><strong>Medicine Name </strong></th> <th><strong>Dose in MG</strong></th> <th><strong>Frequency </strong></th> </tr> </thead> <?php $sql ="SELECT * FROM regularmedicine WHERE patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tbody> <tr> <td> $rs[medicinename]</td> <td> $rs[dose]</td> <td> $rs[Frequency]</td> </tr> "; } ?> </tr> </thead> </tbody> <tfoot> </tfoot> </table> <?php $sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { if(isset($_SESSION[adminid])) { echo " <p align='right'><a href='regularmedicine.php?patientid=$rs[patientid]'> <button style='height:40px;width:200px'> Add New Recods</button><span class='caret'></span></p> </a> "; } echo "</td></tr>"; } ?>