Server IP : 162.240.98.243 / Your IP : 18.221.179.220 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 : |
<?php include("dbconnection.php"); include("menu.php"); ?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <!-- /.card-header --> <div class="card-body"> <table id="example2" class="table table-bordered table-hover"> <thead> <tr> <th><strong>Patient Details</strong></th> <th><strong>Location</strong></th> <th><strong>Select</strong></th> </tr> </thead> <?php $sql ="SELECT * FROM patient WHERE familyid='$_GET[familyid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $city=$con->query("SELECT * FROM `cities` WHERE city_id='$rs[city]'"); while($RowCity=$city->fetch_assoc()){ echo " <td><b>UHID :</b>$rs[patientid]<br><b>Name : </b>$rs[patientname]<br><b>Gender : </b>$rs[gendor]<br><b>C/O :</b>$rs[HusbandName]<br><b>DOB :</b>$rs[dob]<br></td> <td> $RowCity[city_name]</td> <td><a href='patient_basic.php?patientid=$rs[patientid]' >Select</td> </tr> "; }} ?> </tbody> <tfoot> </tfoot> </table> </div> <?php if(isset($_SESSION[doctorid])) { ?> <script> $(function () { $("#example1").DataTable({ "responsive": true, "autoWidth": false, }); $('#example2').DataTable({ "paging": true, "lengthChange": false, "searching": false, "ordering": true, "info": true, "autoWidth": false, "responsive": true, }); }); </script> <?php } ?> </form> </html>