PHP 4.0 Bug #8417 Updated: mssql_query return code not integer value

From: Date: Thu, 04 Jan 2001 17:33:45 +0000
Subject: PHP 4.0 Bug #8417 Updated: mssql_query return code not integer value
Groups: php.dev 
Request: Send a blank email to php-dev+get-42959@lists.php.net to get a copy of this message
ID: 8417 Updated by: fmk Reported By: crispin@pchome.com.tw Old-Status: Open Status: Closed Bug Type: MSSQL related Assigned To: Comments: mssql_query retuens TRUE, FALSE or a resource handler for the record set. Back in php3 days the resource handler was an integer, but with php4 this has changed. If a record set is available the return value will look like this "Resource id #2" Previous Comments: --------------------------------------------------------------------------- [2000-12-25 11:13:37] crispin@pchome.com.tw I try to use PHP + SQL Server 7.0 in Windows 2000. but I am found a bug of PHP's MSSQL API. The problem is mssql_query's return code is not integer value. The correct vlue may be null or string. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8417

« previous php.dev (#42959) next »