Mam takie zapytanie:
INSERT INTO ratings SET total_votes = '1', total_value = '6', used_ips = '127.0.0.1'
WHERE adres = '/modelarstwo_php/index.php?view=artykuly&art=3'
Ale zwraca mi błąd:
#1064 - 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 'WHERE adres = '/modelarstwo_php/index.php?view=artykuly&art=3'' at line 2
Nie bardzo wiem o co chodzi bo wg. mnie wszystko jest ok :).