RE: [PHP-DB] Deleting specific records from MySQL tables
| From: | Craig Vincent | Date: | Sun, 20 May 2001 19:02:50 +0000 |
| Subject: | RE: [PHP-DB] Deleting specific records from MySQL tables | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9480@lists.php.net to get a copy of this message | ||
Try putting the variable into single quotes
mysql_db_query("phpads", "DELETE FROM adviews WHERE
bannerID='$banresult[bannerID]'");
That should resolve the problem.
Sincerely,
Craig Vincent