Bug #2019: while kills while loop (part 2)

From: Date: Tue, 10 Aug 1999 08:10:06 +0000
Subject: Bug #2019: while kills while loop (part 2)
Groups: php.dev 
Request: Send a blank email to php-dev+get-9710@lists.php.net to get a copy of this message
From: commy_@hotmail.com Operating system: Windows NT PHP version: 3.0.11 PHP Bug Type: Misbehaving function Bug description: while kills while loop (part 2) I think i found what the bug migh be. This is a seudo code that shows what im am doing. while (odbc_fetch_row($first_result)) { ... code ... while (odbc_fetch_row($second_result)) { ... code ... } } This example only returns one row (the last) from the $first_result. It seems that the two while loops with a odbc_fetch_row() kills each other!? I also tried with a "while" and "for" loop and it gave the same result. So it must be the odbc_fetch_row() who screws up.

« previous php.dev (#9710) next »