EXCELLENT! It worked perfect. So $result can't be used twice -- I wonder if it somehow is altered by the mysql_fetch_array() that is performed upon it.
Thanks Nick. On Friday, January 11, 2002, at 05:23 PM, Nick Wilson wrote: > I'll most likely be corrected (I just joined the list to brush up on my > php) but I think that if you change this > >> while ($row = mysql_fetch_array($result) or die("You lose. No data > > to this > >> while ($row = mysql_fetch_array($another_result) or die("You >> lose. No data > > You'll be on the right track. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]