Ben PHP ben sadece MySQL veritabanı bir değer güncellemeye çalışıyorum, ben% 100 bu çalışmıyor neden hiçbir fikrim yok emin değildi sormak, yani olmaz:
The field im updating - Name: read - Type: tinyint - Length: 1
Burada PHP kodu:
do_SQL("UPDATE messages SET read=1 WHERE id='".$id."'");
The do_SQL function is working for everything else, so it's something wrong with this statement. I have tried putting 1 in '1' and it still didn't work.m The error is:
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 'read=1 WHERE id='1'' at line 1
Thanks for reading!