Jump to content

[SOLVED] mysql query error problem


shedokan

Recommended Posts

I have this query wich won't work:

UPDATE `teams` SET `ssl`=ssl+1, `ssc`='1215867984' WHERE `id`='1'

and this query wich works:

UPDATE `teams` SET `ssw`=ssw+1, `ssc`='1215867984' WHERE `id`='4'

 

and I get this 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 'ssl+1, `ssc`=1215867984 WHERE `id`='1'' at line 1

 

I used the first query on 16 tables but with different id's and it worked only about half of the times.

please help.

Link to comment
https://forums.phpfreaks.com/topic/114412-solved-mysql-query-error-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.