#31598 [Csd->Bgs]: mssql_query() reports false result.
ID: 31598
Updated by: derick@php.net
Reported By: mhoppstaedter at gmx dot de
-Status: Closed
+Status: Bogus
Bug Type: MSSQL related
Operating System: Windows 2k Server
PHP Version: 5CVS-2005-01-18 (dev)
Previous Comments:
------------------------------------------------------------------------
[2005-01-18 16:22:56] 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!!!
------------------------------------------------------------------------
[2005-01-18 16:03:26] 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'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31598&edit=1
Thread (2 messages)