Re: [PHP-DB] how to get ERROR message

2001-07-06 Thread Dobromir Velev
-Original Message- From: jong jong [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, July 05, 2001 7:38 PM Subject: [PHP-DB] how to get ERROR message Hi, How can I see the error message from browser? My code is like this: htmlbody ? $conn=mssql_connect(xxx,

[PHP-DB] how to get ERROR message

2001-07-05 Thread jong jong
Hi, How can I see the error message from browser? My code is like this: htmlbody ? $conn=mssql_connect(xxx,,); mssql_select_db(xxx,$conn); $result=mssql_query(exec x) or die(query failed); mssql_free_result($result); ? /body/html I got query failed on the browser screen and

Re: [PHP-DB] how to get ERROR message

2001-07-05 Thread support
echo mysql_error(); Allen Lee http://MissoulaWeb.com $10/month PHP4 and MySQL hosting On Thu, 5 Jul 2001, jong jong wrote: Hi, How can I see the error message from browser? My code is like this: htmlbody ? $conn=mssql_connect(xxx,,); mssql_select_db(xxx,$conn);