From: "John Nichel" <[EMAIL PROTECTED]>

> >   $i =0;
> >
> >   while ($i < $num_results)   {
> >
> >         $row = mysql_fetch_array($result);
> >
> >          $producer = $row["PRODUCE"];
> <snip>
>
> Try changing the above from....
>
> while ($i < $num_results)   {
>
>          $row = mysql_fetch_array($result);
>
> To....
>
> while ( $row = mysql_fetch_array($result) ) {

Same thing, really. It's a little more efficient than keeping a count, but
not the cause of any of the problems. :)

---John Holmes...

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

Reply via email to