[insert_php]

$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 {

}

$result = mysqli_query($con,”SELECT * FROM reservations where onzichtbaar=0 and status=’Vrij’ order by volgorde asc”);

echo ”

“;

echo “Kies uw datum en tijd, en druk op RESERVEER”;
echo ”
“;
echo “Choose date and time, and click RESERVEER”;
echo ”
“;
echo “Choisissez la date et l’heure et cliquez RESERVEER”;
echo ”
“;

echo ”

“;echo””;echo””;
echo””;
echo”

“;
echo “”;echo “”;while($row = mysqli_fetch_array( $result ))
{$tmp=$row[‘id’];
echo “”;
echo ”

ID Datum Uur
“;
echo $row[‘id’];
echo “
“;
echo $row[‘datum’];
echo “
“;
echo $row[‘uur’];
echo “
“;

if($row[‘status’]==”Vrij”) {
echo ”

“;
echo “

“;
echo ““;
echo “ “;
echo “

“;
echo “”;
}
}

echo “

“;
echo”

“;
echo”

“;

[/insert_php]