|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32189 mssql_query returns false
Submitted: 2005-03-04 11:20 UTC Modified: 2005-03-04 16:36 UTC
From: nramsbottom at hotmail dot com Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 4.3.10 OS: Windows 2000/IIS5
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: nramsbottom at hotmail dot com
New email:
PHP Version: OS:


 [2005-03-04 11:20 UTC] nramsbottom at hotmail dot com
This is a continuation of bug 31195 <>. 

This bug still occurs when using the ISAPI module under IIS5, but appears to be fixed when running the CGI version.

I am aware that this was corrected on the 20th December 2004, but only in the CGI - it occurs with the 15th December 2004 4.3.10 release and the 2nd March 2005 snapshot!

Reproduce code:
$mssql = mssql_connect( "<dbhost>", "<dblogin>", "<dbpwd>" );
mssql_select_db ("<dbname>" );
$res = mssql_query( "update cb_agent_details set username = 'neil' where agentid=1" );

if ($res === false)
  echo "mssql_query returned false.\n";
  echo "mssql_query returned true.\n";

Expected result:
The query should succeed and the positive message displayed.

Actual result:
This query succeeds (data is changed on the server) but the negative message is displayed.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-04 16:36 UTC]
Install PHP correctly and it works. (This is fixed..)

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 08:01:27 2024 UTC