- Impact
- 18
Sorry to keep troubling everyone, but I would be grateful if you could help me with this:
That mysql code comes up with the error:
Can anyone see anything wrong with it? I can't, but then again, I am thick! :lol:
Thanks
Tom
Code:
INSERT INTO pd_shops ('id' , 'name' , 'description' , 'keywords' , 'url' , 'category' , 'image' , 'tall_banner' , 'long_banner' , 'hit_count') VALUES ('' , '$name' , '$description' , '$keywords' , '$url' , '$category' , '$image' , '$tallbanner' , '$longbanner' , '0')
That mysql code comes up with the 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 ''id' , 'name' , 'description' , 'keywords' , 'url' , 'category'
Can anyone see anything wrong with it? I can't, but then again, I am thick! :lol:
Thanks
Tom









