ID:               27420
 Updated by:       [EMAIL PROTECTED]
 Reported By:      godwizard at hotmail dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         MSSQL related
 Operating System: Windows 2000
 PHP Version:      4.3.4
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2004-03-11 09:19:29] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2004-02-27 10:05:47] godwizard at hotmail dot com

Description:
------------
Executing SQL query and trying to move next SQL query but after this
query db connection is closed and you can't open db connection again.
This problem come's always after that kind of query.

Reproduce code:
---------------
$result = mssql_query( "if exists (select kuvaurl from kuvagalleria
where koiraid = $koiraID and oletus = '1') begin select kuvaurl from
kuvagalleria where koiraid = $koiraID and oletus = '1' end else select
'00091' as kuvaurl" );

while ($a_row = mssql_fetch_array( $result ) )

{

$kuvaurl = "$a_row[kuvaurl]";

}

Expected result:
----------------
I'd like to make another SQL query.

Actual result:
--------------
DB connection is closed and you can't execute any SQL query after that
code in same page like it should. Problem is not in SQL Server, the
code do sth what anybody doesn't understand.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27420&edit=1

Reply via email to