php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31598 mssql_query() reports false result.
Submitted: 2005-01-18 16:03 UTC Modified: 2005-01-18 16:47 UTC
From: mhoppstaedter at gmx dot de Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 5CVS-2005-01-18 (dev) OS: Windows 2k Server
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mhoppstaedter at gmx dot de
New email:
PHP Version: OS:

 

 [2005-01-18 16:03 UTC] mhoppstaedter at gmx dot de
Description:
------------
mssql_query() reports false result. This only seems to happen by an update (insert?) statement; select statement seems to work correctly. It was reported that this bug was fixed in CVS, but I downloaded Win32 Stable (5.0.x-dev) from 18, 2005 09:30 GMT and this DOES NOT fix it.

Reproduce code:
---------------
$sql = "UPDATE table SET field = 'text' WHERE id = '$id'";
mssql_query($sql) or die("Error MS-SQL: ".$sql);

Expected result:
----------------
No error message.

Actual result:
--------------
Error MS-SQL: UPDATE table SET field = 'text' WHERE id = 'id'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-18 16:22 UTC] mhoppstaedter at gmx dot de
Sorry, for being that stupid!!! ;-)
But I forgot to copy the new php_mssql.dll to the root folder. 
The bug IS FIXED ind CVS!!!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC