Hi > The error message for second connection request is not given back to the > PHP. Or as I suppose, mysql_error takes last error message from last used > ESTABLISHED connection (it means from $link1) and since in this connection > was everything ok, it puts empty string as a result of mysql_error function.
This is incorrect. mysql_error() retreives the error message from the last mysql function (excluding itself or mysql_errno) executed, not the last connection. Niel -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php