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 '`gid`='1'
WHERE `catid`='1'' at line 6
SQL : UPDATE phpar_categories
SET
`name`='TEST6',
`text_color`='#232121',
`bg_color`='#bc3838'
`gid`='1'
WHERE `catid`='1'
error Edit categories error