Update errors
| From: | Alawi shekh albaity | Date: | Sat, 01 Mar 2003 06:27:25 +0000 |
| Subject: | Update errors | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25972@lists.php.net to get a copy of this message | ||
What wrong with this SQL
$SQLSTATEMENT["UPDATE_CAT"] = "
UPDATE cats SET
cat_name = '$cat_name',
WHERE cat_id = $catidforedit
";
Error no : 1064
Details :
You have an error in your SQL syntax near 'WHERE cat_id = 2 ' at line 4
Db : mysql