Server IP : 162.240.98.243 / Your IP : 3.15.226.120 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 $conn=mysqli_connect("localhost","easenuph","@#admin@#","easenuph_hand2secure"); $data=$_POST; $count=count($_POST['Batch_number']); foreach($_POST['Batch_number'] as $i => $value) { $sql="INSERT INTO `medicine_inventory`(`Batch_number`,`mrp`,`Expiry_Date`,`Quantity`,`medicine_id`) VALUES ('{$_POST['Batch_number'][$i]}','{$_POST['mrp'][$i]}','{$_POST['Expiry_Date'][$i]}','{$_POST['Quantity'][$i]}','{$_POST['medicine_id'][$i]}')"; $conn->query($sql); echo "<script>alert('Vitals add successfully..');</script><script>window.history.go(-3)</script>;</script>"; }