[PHP-DB] mysql_error function

2006-10-03 Thread Honza Spurny
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

Re: [PHP-DB] mysql_error function

2006-10-05 Thread Honza Spurny
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

Re: [PHP-DB] mysql_error function

2006-10-06 Thread Honza Spurny
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