Re: [PHP-DB] Column help needed (Table)

2004-07-13 Thread Pablo M. Rivas
Hello Chris,
   easy as this?

   ";
 $odd=0;
  } else $odd=1;
  echo "" . $row[0] . "";
}

   ?>


CP> Hi there everyone,

 

CP> I need my MySQL query to be displayed in a table, which is no problem, but I
CP> only want 2 results per row to be displayed - so if I had 10 returned
CP> results from my Database, it would display 2 per column on 5 rows.  How can
CP> I do this dynamically?

 

CP> Any help would be really appreciated.

 

CP> Thanks

 

CP> Chris

 




-- 
Best regards,
 Pablo

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



[PHP-DB] Column help needed (Table)

2004-07-08 Thread Chris Payne
Hi there everyone,

 

I need my MySQL query to be displayed in a table, which is no problem, but I
only want 2 results per row to be displayed - so if I had 10 returned
results from my Database, it would display 2 per column on 5 rows.  How can
I do this dynamically?

 

Any help would be really appreciated.

 

Thanks

 

Chris