PHP 4.0 Bug #9500 Updated: mssql_query returns false for INSERT & UPDATE queries
| From: | sniper@php.net | Date: | Fri, 09 Mar 2001 18:27:09 +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-48437@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:
Duplicate of #8777
Previous Comments:
---------------------------------------------------------------------------
[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>");
}
?>
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9500&edit=2