uot;really last" error message that is
dedicated to last connection request?
Thanks a lot for any advice.
Honza Spurny
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Niel Archer wrote:
> 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
Niel Archer wrote:
> Hi
>
>> OK, so there is no way how to get error message about mysql_connect()
>> function when establishing more connections?
>
> mysql_error *should* hold the error string from the last used mysql
> function (excepting itself and mysql_errno), that includes the
> mysql_connect