- Remove the @, it suppresses the error
- change die("Could not execute query, please try
again later"); to die(mysql_error());
$sql = mysql_query("DELETE FROM $table_name WHERE $id
= 'id'",$dbh) or
--- jas <[EMAIL PROTECTED]> wrote:
> Can someone tell me how I can find out why I am
> getting errors executing
> queries when I try to delete items from a table? I
> have 2 files...
> file 1. - Queries database, displays results with
> option to delete record
> using a check box, code is as follows...
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php