Server IP : 162.240.98.243 / Your IP : 3.143.254.90 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 //insert.php $connect = new PDO("mysql:host=localhost;dbname=easenuph_hand2secure", "easenuph", "@#admin@#"); $query = " INSERT INTO Test_Description (Test_Description, Unit,Sex,Age_Range,True_Value,True_Value2,ivid) VALUES (:Test_Description, :Unit, :Sex, :Age_Range, :True_Value, :True_Value2, :ivid) "; for($count = 0; $count<count($_POST['hidden_Test_Description']); $count++) { $data = array( ':Test_Description' => $_POST['hidden_Test_Description'][$count], ':Unit' => $_POST['hidden_Unit'][$count], ':Sex' => $_POST['hidden_Sex'][$count], ':Age_Range' => $_POST['hidden_Age_Range'][$count], ':True_Value' => $_POST['hidden_True_Value'][$count], ':True_Value2' => $_POST['hidden_True_Value2'][$count], ':ivid' => $_POST['hidden_ivid'][$count] ); $statement = $connect->prepare($query); $statement->execute($data); } ?>