Re: PHP 4.0 Bug #9500 Updated: mssql_query returns false for INSERT & UPDATE queries
| From: | Greg Sohl | Date: | Fri, 09 Mar 2001 17:15:09 +0000 |
| Subject: | Re: 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-48423@lists.php.net to get a copy of this message | ||
Jani,
Sure can. #8777 and #8783.
Hope this helps.
Greg
>>> Bug Database <php-dev@lists.php.net> 03/08/01 05:56PM >>>
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