mssql_query and error message

From: Date: Sun, 09 Dec 2001 10:02:26 +0000
Subject: mssql_query and error message
Groups: php.general 
Request: Send a blank email to php-general+get-77145@lists.php.net to get a copy of this message
Hi, (Sorry for the cross post, I posted it in the wrong place the first time) I've got MSSQL 2000 running on Win2000 Svr. Linux 2.2.16 running Apache 1.3.22, freetds 0.53, and PHP 4.0.6. I can connect and run queries no problem, but when an error is raised (with raiserror) on the SQL box, mssql_query (...) just returns false, and I don't get anything in $php_errormsg or mssql_get_last_message(). Is there a way to tell what the error was? (The query can return one of two errors, I need to know which it was.) Many thanks for any help you can give, Cheers, Dave.

« previous php.general (#77145) next »