File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/admin/API/AddCar.php
Back
<?php require_once("Connection.php"); if(isset($_POST['REGI'])) { $regi = $_POST['REGI']; $moid = $_POST['MO_ID']; $cid = $_POST['C_ID']; $year = $_POST['YEAR']; $fual = $_POST['FUAL']; $km = $_POST['KM']; $sql = "INSERT INTO `vehicle_table` (`vehicle_id`, `vehicle_no`, `mo_id`, `owner_id`, `mfg_year`, `fuel_type`, `km`, `selected`) VALUES (NULL, '$regi', '$moid', '$cid', '$year', '$fual', '$km', '0')"; if($con->query($sql)) { echo "TRUE"; } else { echo $con -> error; } } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings