|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8783 mssql_query() function returns empty result after succesfull UPDATE or DELETE
Submitted: 2001-01-18 10:37 UTC Modified: 2002-06-18 18:21 UTC
From: yuri_kruglov at autosystems dot kiev dot ua Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.4pl1 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: yuri_kruglov at autosystems dot kiev dot ua
New email:
PHP Version: OS:


 [2001-01-18 10:37 UTC] yuri_kruglov at autosystems dot kiev dot ua
$foo = mssql_query("DELETE FROM session WHERE ABS(DATEDIFF(hh,GETDATE(),LastUsed)) > 12",$db) or mssql_die();

Query executes succesfully? but $foo is empty and mssql_die() is called !

php.ini is a default, php4_mssql70.dll is uncommented.

Error happens in both CGI and ISAPI modes.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-09 13:27 UTC]
Duplicate of #8777

 [2002-06-18 18:21 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 20:01:29 2024 UTC