What wrong in this SQL

From: Date: Sat, 01 Mar 2003 06:03:43 +0000
Subject: What wrong in this SQL
Groups: php.db 
Request: Send a blank email to php-db+get-25966@lists.php.net to get a copy of this message
What wrong with this code in sql : $SQLSTATEMENT["DeleteCategory"] = " DELETE FROM cats, articles WHERE cat_id = $catid "; Error no: 1064 Details : You have an error in your SQL syntax near 'WHERE cat_id = 1 ' at line 4

« previous php.db (#25966) next »