mysql_error returns the resultant error (if any) of the most recent sql call on a particular db connection. In other words, if 2 users are querying the db at the same time, mysql_error returns the most recent error generated in their _respective_ connections.
Carl -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php