Re: [PHP-DB] Looping through two arrays

2002-02-28 Thread Jason Wong

On Friday 01 March 2002 01:00, Aron Pilhofer wrote:

[snip]

Try:

 Any help is greatly appreciated. Here's the code:

 while ($row_new = mysql_fetch_row($res_master))
   {

mysql_data_seek($res_new, 0);

   while ($row_old = mysql_fetch_row($res_new))
   {
echo($row_new[0] . $row_new[1]);
echo($row_old[0] . $row_old[1] . br);
   }
 }


-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk

/*
Sorry never means having your say to love.
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] Looping through two arrays

2002-02-28 Thread Aron Pilhofer

Jason, you rock! Works perfectly, thanks!

aron

Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED];
 On Friday 01 March 2002 01:00, Aron Pilhofer wrote:

 [snip]

 Try:

  Any help is greatly appreciated. Here's the code:
 
  while ($row_new = mysql_fetch_row($res_master))
{

 mysql_data_seek($res_new, 0);

while ($row_old = mysql_fetch_row($res_new))
{
 echo($row_new[0] . $row_new[1]);
 echo($row_old[0] . $row_old[1] . br);
}
  }


 --
 Jason Wong - Gremlins Associates - www.gremlins.com.hk

 /*
 Sorry never means having your say to love.
 */



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php