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
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