I have a column in a MySQL database
company 1
company 2
company 3
company 4
company 5
...
how can I call it from the database into three colums using php:
i.e.
company 1 company 2 company 3
company 4 company 5 ...
I have been used to using the while() to call up data from different columns but this doesnt work in this instance? Any ideas on a possible solution would be greatly appreciated.
PS sorry if this has been covered before - couldn't find what I was looking for in the search.
displaying array data in multiple columns
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA