new pair of eyes
| From: | Jas | Date: | Fri, 31 May 2002 16:30:52 +0000 |
| Subject: | new pair of eyes | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-19555@lists.php.net to get a copy of this message | ||
I think I am missing something:
$db_name = "database";
$table_name = "auth_users";
$sql = "DELETE user_id, f_name, l_name, email_addy, un, pw FROM $table_name
WHERE user_id = \"$user_id\", $dbh";
$result = @mysql_query($sql, $dbh) or die ("Could not execute query.
Please try again later.");
Its not deleting the records based on a hidden field in a form named
$user_id
Any help would be great!
Jas