Date: 02/28/01
- Next message: amra <email protected>: "[PHP-DEV] PHP 4.0 Bug #9501: variable sapi_module defined multiple places"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] SSL -> joining sockets and files (resent)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: gsohl <email protected>
Operating system: NT 4.0
PHP version: 4.0.4pl1
PHP Bug Type: MSSQL related
Bug description: mssql_query returns false for INSERT & UPDATE queries
<?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 Bug report at: http://bugs.php.net/?id=9500&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: amra <email protected>: "[PHP-DEV] PHP 4.0 Bug #9501: variable sapi_module defined multiple places"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] SSL -> joining sockets and files (resent)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

