Delete a record

From: Date: Fri, 13 Sep 2002 21:42:48 +0000
Subject: Delete a record
Groups: php.general 
Request: Send a blank email to php-general+get-116317@lists.php.net to get a copy of this message
Hello, I'd like delete some row from a table. I do that : $query="DELETE FROM logiciellg WHERE LOGICIEL_ID=$ID"; $result = mysql_query($query) or die ("Invalid query"); when I look the query via an echo the query look ok. But when I execute (mysql_query) I receive "Invalid query". Could you tell me why ? Bye

« previous php.general (#116317) next »