My mysqli insert doesn't work for some reason but I don't get any errors.
<?php
$con = mysqli_connect("localhost", "root", "", "dice");
if (mysqli_connect_errno()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
mysqli_query($con, "INSERT INTO `gamble` (thr,score,tstamp)
VALUES ('test123','test123','test123')");
echo "New record has id: " . mysqli_insert_id($con);
mysqli_close($con);
I really don't know what I did wrong.