Bug #1972 Updated: while kills while loop

From: Date: Thu, 11 Nov 1999 23:18:11 +0000
Subject: Bug #1972 Updated: while kills while loop
Groups: php.dev 
Request: Send a blank email to php-dev+get-12303@lists.php.net to get a copy of this message
ID: 1972 Updated by: joey Reported By: commy_@hotmail.com Status: Open Bug Type: Misbehaving function Assigned To: Comments: Marking 2109 as dup, adding info here: Short Desc.: while kills while loop (part 2) [1999-08-10 04:10:06] commy_@hotmail.com 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. Full Bug description available at: http://bugs.php.net/?id=1972

« previous php.dev (#12303) next »