You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- by user1810442
Hi I keep getting SQL syntax error when i'm running my code in php, however when i remove the variables and do it manually in MYSQL, not a problem. I've tried 2 different versions of query one with (') and other with (") and nothing. Could you please help?
Thank you.
$produpdateid = $_GET ['id'];
$varcat = $_POST['category'];
…