Quote:
INSERT INTO guest_records('name', 'email', 'comment') VALUES (?, ?, ?)
According to
the documentation[
^], you can't use single quotes around object identifiers.
You can use backticks:
INSERT INTO guest_records(`name`, `email`, `comment`) VALUES (?, ?, ?)
or, if
ANSI_QUOTES
is enabled, double quotes:
INSERT INTO guest_records("name", "email", "comment") VALUES (?, ?, ?)