php and while...newbie Q

From: Date: Tue, 06 Aug 2002 10:05:00 +0000
Subject: php and while...newbie Q
Groups: php.windows 
Request: Send a blank email to php-windows+get-15138@lists.php.net to get a copy of this message
Hi, I have the fwg code where the first resultset $fila has 15 records while the second one $info has 1 record.. I need to display all the 15 records along with the 1 record of the second while loop.. I cannot put the display code inside the second while as it wud print only 1 record and the queries has to be separate too.. any suggestion as to how i can resolve this?? thnx, sands while( $fila = mysql_fetch_array($resultado)) { while($info = mysql_fetch_array($resultdate)){ } }

« previous php.windows (#15138) next »