#31598 [NEW]: mssql_query() reports false result.

From: Date: Tue, 18 Jan 2005 15:03:27 +0000
Subject: #31598 [NEW]: mssql_query() reports false result.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72384@lists.php.net to get a copy of this message
From: mhoppstaedter at gmx dot de Operating system: Windows 2k Server PHP version: 5CVS-2005-01-18 (dev) PHP Bug Type: MSSQL related Bug description: mssql_query() reports false result. 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 bug report at http://bugs.php.net/?id=31598&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31598&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31598&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31598&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31598&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31598&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31598&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31598&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31598&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31598&r=support Expected behavior: http://bugs.php.net/fix.php?id=31598&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31598&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31598&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31598&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31598&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31598&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31598&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31598&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31598&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31598&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31598&r=mysqlcfg

« previous php.bugs (#72384) next »