[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 “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;

echo “

“;
echo “Taal / Language / Langue”;
echo ”   “;
echo “
“;
echo “ Nederlands
“;
echo “ English
“;
echo “ Francais
“;
echo “
“;
echo “Piloot of passagier / Pilot or passenger / Pilot ou passager”;
echo ”   “;
echo “
“;
echo “ Pilot/Piloot
“;
echo “ Passenger/Passagier/Passager
“;
echo “
“;
echo “Voornaam / Forename / Prénom”;
echo ”   “;
echo “
“;
echo ““;
echo “
“;
echo “Naam / Last name /Nom de famille”;
echo “
“;
echo ““;
echo “
“;
echo “Adres / Address / Adresse”;
echo “
“;
echo ““;
echo “
“;
echo “Postnr / ZipCode / Numéro postal”;
echo “
“;
echo ““;
echo “
“;
echo “Plaats / City / Ville”;
echo “
“;
echo ““;
echo “
“;
echo “Telefoon / Phone Nr. / Téléphone”;
echo “
“;
echo ““;
echo “
“;
echo “E-Mail”;
echo “
“;
echo ““;
echo “
“;
echo “Geboortedatum / Day of birth / Date de naissance”;
echo “
“;
echo ““;
echo “
“;
echo “Formule”;
echo “
“;
echo “ Cash
“;
echo “ Cadeaubox
“;
echo “ Groupon
“;
echo “ Social Deal
“;
echo “ Wonderbox
“;
echo “ (Tegoed) Bon Corvette Experience Team
“;
echo “
“;
echo “Bonnummer / Voucher number / Numéro de bon”;
echo “
“;
echo ““;
echo “
“;
echo “Vervaldatum bon / Expiration date voucher / Date d’expiration bon”;
echo “
“;
echo ““;
echo “
“;
echo “Opmerking / Remark / Note”;
echo “
“;
echo ““;
echo “
“;
echo “
“;
echo ““;
echo ““;
echo “

“;

} else {

echo “Kies eerst een datum en uur : klik hier“;
}

[/insert_php]