Server IP : 162.240.98.243 / Your IP : 3.137.163.197 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/Pharmacy/ |
Upload File : |
<?php session_start(); $DisplayForm=True; include('dbconnection.php'); $sql ="select * from consumable_stock where Consumable_id='$_GET[drmeid]'"; $qsql = mysqli_query($con,$sql); while($qsql2=mysqli_fetch_array($qsql)) { $DisplayForm=False; echo ""; } if($DisplayForm) { echo" <input type='text' name='ConsumableName'> <input type='hidden' name='Category'> <input type='hidden' name='Consumable_id'> "; } else{ ?> <?php session_start(); $DisplayForm=True; include('dbconnection.php'); $sql ="select * from consumable_stock where Consumable_id='$_GET[drmeid]'"; $qsql = mysqli_query($con,$sql); while($qsql2=mysqli_fetch_array($qsql)) { echo" <B> $qsql2[ConsumableName] $qsql2[Category] </B><br> <input type='hidden' name='ConsumableName' value='$qsql2[ConsumableName]'> <br> <input type='hidden' name='Consumable_id' value='$qsql2[Consumable_id]'> <input type='hidden' name='Category' value='$qsql2[Category]'> <input type='hidden' name='Admin_id' value='$qsql2[Admin_id]'> "; } ?> <?php } ?>