Bug #9500 Updated: mssql_query returns false for INSERT & UPDATE queries

From: Date: Tue, 18 Jun 2002 22:24:12 +0000
Subject: Bug #9500 Updated: mssql_query returns false for INSERT & UPDATE queries
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11227@lists.php.net to get a copy of this message
ID: 9500 Updated by: sniper@php.net Reported By: gsohl@freedomgroup.com -Status: Duplicate +Status: Closed Bug Type: MSSQL related Operating System: NT 4.0 PHP Version: 4.0.4pl1 New Comment: Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php Previous Comments: ------------------------------------------------------------------------ [2001-03-09 13:27:08] sniper@php.net Duplicate of #8777 ------------------------------------------------------------------------ [2001-03-08 18:56:06] sniper@php.net Mind telling that which bug report is the duplicate to this one? --Jani ------------------------------------------------------------------------ [2001-02-28 16:05:31] gsohl@freedomgroup.com <?php mssql_connect('myserver', 'user', 'password'); mssql_select_db('mydatabase'); $Result = mssql_query("UPDATE mytable SET nextval=nextval+1"); if ($Result) { echo("Result is TRUE<BR>"); } else { echo("Result is FALSE<BR>"); } echo '<BR><BR>'; $Result = mssql_query("INSERT mytable values(10)"); if ($Result) { echo("Result is TRUE<BR>"); } else { echo("Result is FALSE<BR>"); } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=9500&edit=1

« previous php.bugs (#11227) next »