ID: 32189 Updated by: [EMAIL PROTECTED] Reported By: nramsbottom at hotmail dot com -Status: Open +Status: Bogus Bug Type: MSSQL related Operating System: Windows 2000/IIS5 PHP Version: 4.3.10 New Comment:
Install PHP correctly and it works. (This is fixed..) Previous Comments: ------------------------------------------------------------------------ [2005-03-04 11:20:40] nramsbottom at hotmail dot com Description: ------------ This is a continuation of bug 31195 <http://bugs.php.net/bug.php?id=31195>. This bug still occurs when using the ISAPI module under IIS5, but appears to be fixed when running the CGI version. I am aware that this was corrected on the 20th December 2004, but only in the CGI - it occurs with the 15th December 2004 4.3.10 release and the 2nd March 2005 snapshot! Reproduce code: --------------- $mssql = mssql_connect( "<dbhost>", "<dblogin>", "<dbpwd>" ); mssql_select_db ("<dbname>" ); $res = mssql_query( "update cb_agent_details set username = 'neil' where agentid=1" ); if ($res === false) { echo "mssql_query returned false.\n"; } else { echo "mssql_query returned true.\n"; } Expected result: ---------------- The query should succeed and the positive message displayed. Actual result: -------------- This query succeeds (data is changed on the server) but the negative message is displayed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32189&edit=1