As the title says, I get BOTH an error and the INSERT has been recorded/accepted. here is the mySQL:
$anvSQL = "
INSERT INTO members (login, date)
VALUES('GRFU25F9J8P5P3rYIDUP', '2014-11-11 09:59:56')
";
if (!mysqli_query($con, $anvSQL))
{
die('Error: ' . mysqli_error($con));
}
else
{
echo "<br>1 record added";
}
Field login is a text and date is in datetime format. And here is the complete error message:
1 record added Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '2014-11-11 09:59:56')' at line 1