Server IP : 162.240.98.243 / Your IP : 18.217.206.112 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 //fetch.php $connect = mysqli_connect("localhost", "easenuph", "@#admin@#", "easenuph_hand2secure"); $output = ''; $query = "SELECT * FROM item WHERE patientid='12911' ORDER BY item_id DESC "; $result = mysqli_query($connect, $query); $output = ' <br /> <h3 align="center">Item Data</h3> <table class="table table-bordered table-striped"> <tr> <th width="30%">Item Name</th> <th width="10%">Item Code</th> <th width="50%">Description</th> <th width="10%">Price</th> </tr> '; while($row = mysqli_fetch_array($result)) { $output .= ' <tr> <td>'.$row["item_name"].'</td> <td>'.$row["item_code"].'</td> <td>'.$row["item_description"].'</td> <td>'.$row["item_price"].'</td> </tr> '; } $output .= '</table>'; echo $output; ?>