#31598 [Opn->Csd]: mssql_query() reports false result.
| From: | mhoppstaedter at gmx dot de | Date: | Tue, 18 Jan 2005 15:22:57 +0000 |
| Subject: | #31598 [Opn->Csd]: mssql_query() reports false result. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72383@lists.php.net to get a copy of this message | ||
ID: 31598
User updated by: mhoppstaedter at gmx dot de
Reported By: mhoppstaedter at gmx dot de
-Status: Open
+Status: Closed
Bug Type: MSSQL related
Operating System: Windows 2k Server
PHP Version: 5CVS-2005-01-18 (dev)
New Comment:
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!!!
Previous Comments:
------------------------------------------------------------------------
[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