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

From: Date: Thu, 08 Mar 2001 23:56:06 +0000
Subject: PHP 4.0 Bug #9500 Updated: mssql_query returns false for INSERT & UPDATE queries
Groups: php.dev 
Request: Send a blank email to php-dev+get-48331@lists.php.net to get a copy of this message
ID: 9500 Updated by: sniper Reported By: gsohl@freedomgroup.com Status: Duplicate Bug Type: MSSQL related Assigned To: Comments: Mind telling that which bug report is the duplicate to this one? --Jani Previous Comments: --------------------------------------------------------------------------- [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>"); } ?> --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9500&edit=2

« previous php.dev (#48331) next »