Error in my syntax? I can't see it
I'm losing hair over this. Please tell me where my syntax is wrong
Code:
update
setting
set
title = 'blah',
uri = 'foo',
newscount = 1,
timezone = -5,
articlecount = 10,
showlength = 150,
absolutepath = '/blah/etc/etc/'
where
setting_id = 1
This is what the error said:
Notice: 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 ' showlength = 150, absolutepath = '/blah/etc/etc' in ...