Date: 02/21/01
- Next message: andre <email protected>: "[PHP-DEV] PHP 4.0 Bug #1546 Updated: Unable to pass path info while using php in cgi mode."
- Previous message: Hellekin O. Wolf: "[PHP-DEV] snpashot broken ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: napoleon <email protected>
Operating system: Windows ME
PHP version: 4.0.3pl1
PHP Bug Type: MSSQL related
Bug description: mssql_query can't get result
mssql_query() can't fetch result from server if I use
sql server variables in query.
For example this script:
<?php
mssql_connect([server],[user],[password])
$sql_result=mssql_query("declare <email protected> int;select <email protected>=5;delete from [table] where field1= <email protected>");
$sql_result2=mssql_query("select * from kasutajad");
?>
If I turned error severity to 0 I saw following
error:MS SQL error:
Attempt to initiate a new SQL Server operation with results pending. (severity 7) in c:\htdocs\sqltest.php on line 4
...but the first query has no result to fetch...
-- Edit Bug report at: http://bugs.php.net/?id=9379&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: andre <email protected>: "[PHP-DEV] PHP 4.0 Bug #1546 Updated: Unable to pass path info while using php in cgi mode."
- Previous message: Hellekin O. Wolf: "[PHP-DEV] snpashot broken ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

