A admin Administrator Staff member Aug 21, 2008 #1 Hi, I wrote this query: query = "UPDATE tablename SET status='$status' WHERE ckey='$ckey' LIMIT 1"; and when I run it, it says this: You have an error in your SQL syntax near 'LIMIT 1' at line 1 Thanx in advance, Ilir.
Hi, I wrote this query: query = "UPDATE tablename SET status='$status' WHERE ckey='$ckey' LIMIT 1"; and when I run it, it says this: You have an error in your SQL syntax near 'LIMIT 1' at line 1 Thanx in advance, Ilir.