I have recently come across a stumper using the odbc_connect function. My ODBC resource intermittently runs out of user licenses and PHP relays a particularly ugly ODBC message to my web users. I tried to use the following code to handle this error:
$o_link = odbc_connect("dbase","user","password") or die("Please try again later")
This seems to return the "Please Try Again" when the database is out of licenses, but continues to relay the ugly error message.
Anyone have any suggestions?
Hutch