Здравейте, дава ми грешката
ето го кода:
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 ''toner' (`title`, `opisanie`, `cena`, `pic`, `subcat_cat_id`) VALUES (`CANON PG ' at line 1
ето го кода:
Код:
$sql = "UPDATE `toner` (`title`, `opisanie`, `cena`, `pic`, `subcat_cat_id`) VALUES (`$title`, `$opisanie`, `$cena`, `$pic`, `$subcat_cat_id`);";