This is an error 404
There are `0` results
preferences:
175.88 ms | 1399 KiB | 7 Q<?php$con = mysqli_connect("localhost","root","",'oefening');
if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error();
exit();
if(mysqli_query($con,"INSERT INTO persons (voornaam , achternaam , leeftijd) VALUES ('Peter', 'Griffin','35')")){
echo "De query is gelukt!";
} else {
echo "Please check your query and try again. The error is:" .mysqli_error($con);
}
mysqli_close($con);?>