|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8417 mssql_query return code not integer value
Submitted: 2000-12-25 11:13 UTC Modified: 2001-01-04 12:33 UTC
From: crispin at pchome dot com dot tw Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.4 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: crispin at pchome dot com dot tw
New email:
PHP Version: OS:


 [2000-12-25 11:13 UTC] crispin at pchome dot com dot 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-04 12:33 UTC]
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"
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 08:01:31 2024 UTC