Re: [PHP-DB] Deleting specific records from MySQL tables

2001-05-20 Thread Paul Burney
on 5/20/01 11:50 AM, Matthew Tyler at [EMAIL PROTECTED] wrote: > I'm having difficulty getting certain records in MySQL tables to delete. I > have this bit of code: > > mysql_db_query("phpads", "DELETE FROM adviews WHERE > bannerID=$banresult[bannerID]"); I don't think that PHP will be able to

RE: [PHP-DB] Deleting specific records from MySQL tables

2001-05-20 Thread Craig Vincent
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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi