[insert_php]
$h_innr = $_REQUEST[‘search’];
// echo “ID “;
// echo $h_innr;
// echo “
“;
// echo “
“;
$servername = “localhost”;
$username = “corvetteex_usr”;
$password = “corvettez06”;
// Create connection
$con=mysqli_connect(“localhost”,”corvetteex_usr”,”corvettez06″,”corvetteex_db”);
if (mysqli_connect_errno()) {
echo “Failed to connect to MySQL: ” . mysqli_connect_error();
} else {
// echo “(Connection To Database OK!) ” ;
// $nowtime = date(“Y-m-d H:i:s”);
// $cortime = date(‘Y-m-d H:i:s’, strtotime($nowtime . ‘ + 120 minute’));
// echo $cortime;
// echo ““;
// echo “
“;
}
// ———————————————————
$result = mysqli_query($con,”SELECT * FROM reservations where id=$h_innr”);
while($row = mysqli_fetch_array( $result ))
{
echo “
“;
$h_id = $row[‘id’];
echo “Reservation-ID: ” .$h_id;
echo “
“;
$h_datum = $row[‘datum’];
// echo “Datum: ” . $h_datum;
// echo “
“;
$h_uur = $row[‘uur’];
// echo “Uur: ” . $h_uur;
// echo “
“;
$h_auto = $row[‘auto’];
// echo “Car: ” . $h_auto;
}
// ———————————————————
if (intval($h_id) > 400) {
echo “