Posted by:
c2dan
(---.15-1.cable.virginmedia.com)
Table/field names should not be wrapped in quotes ( eg: ' ).
When quoting table/field names you should use back-ticks ( eg: ` ).
Quotes should only be used around values, for example when inserting data into the database
INSERT INTO `table_name` SET `field1` = 'some value';
Or grabbing data from the database, eg
SELECT `some_field` FROM `table_name` WHERE `id` = 'some value';
Hope you understand where to use quotes and backticks. Do note thought that backt-ticks are optional.