On Saturday 01 June 2002 00:30, Jas wrote: > 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";
The MySQL syntax for DELETE is: DELETE FROM table [WHERE ...] thus there is no need for user_id, f_name etc. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* The number of licorice gumballs you get out of a gumball machine increases in direct proportion to how much you hate licorice. */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php