Hi I'm having problems inserting into my local database, I have an established connection as I can query using "SELECT * FROM contact", but I cannot insert using the following code
$query1 = "INSERT INTO 'contact' ('e-mail', 'subject', 'body')
VALUES('email@gmail.com', 'another question', 'Just asking?')";
This is the error it's giving me - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''e-mail', 'subject', 'body')
If anyone could kindly assist?