#31598 [Csd->Bgs]: mssql_query() reports false result.

From: Date: Tue, 18 Jan 2005 15:47:44 +0000
Subject: #31598 [Csd->Bgs]: mssql_query() reports false result.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72388@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#72388) next »