This question already has an answer here:
i programm some PHP Scripts and i wrote this sql query (for example):
INSERT INTO \`table1\` (\`article\`, \`typ\`)
VALUES(\`test\`, \`test2\`)
this query works.
my problem is that if i write the tablename and columns like this 'table1' i get an sql error: SQL Error(1064): 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 ''article', 'typ') VALUES('test', 'test1')'
Does anybody know why i have to write it like this `table1` and why it doesnt work with normal --> ' ?
Server-Typ: MariaDB
Server-Version: 10.1.9-MariaDB - mariadb.org binary distribution
Server-Zeichensatz: UTF-8 Unicode (utf8)
</div>