0
Displaying MySQL Recordset In Two Table Columns

/t5/dreamweaver-discussions/displaying-mysql-recordset-in-two-table-columns/td-p/742395
Dec 21, 2006
Dec 21, 2006
Copy link to clipboard
Copied
I've got a MySQL recordset which is displaying a list of
companies and no other data. I want to display those companies so
that there isn't just one long list on my page but instead have it
divided between two columns in a table (or some other way). And if
there's an odd number of companies I want the left column to
display the extra. For example:
Company A Company F
Company B Company G
Company C Company H
Company D Company I
Company E
Thanks.
Company A Company F
Company B Company G
Company C Company H
Company D Company I
Company E
Thanks.
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/displaying-mysql-recordset-in-two-table-columns/m-p/742396#M146324
Dec 22, 2006
Dec 22, 2006
Copy link to clipboard
Copied
SilverR252 wrote:
> I've got a MySQL recordset which is displaying a list of companies and no other
> data. I want to display those companies so that there isn't just one long list
> on my page but instead have it divided between two columns in a table (or some
> other way).
If you're using PHP with MySQL, try the Horizontal/Vertical Looper
created by Tom Muck:
http://www.tom-muck.com/extensions/help/HorizontalVerticalLooperHelp/
--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
> I've got a MySQL recordset which is displaying a list of companies and no other
> data. I want to display those companies so that there isn't just one long list
> on my page but instead have it divided between two columns in a table (or some
> other way).
If you're using PHP with MySQL, try the Horizontal/Vertical Looper
created by Tom Muck:
http://www.tom-muck.com/extensions/help/HorizontalVerticalLooperHelp/
--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/dreamweaver-discussions/displaying-mysql-recordset-in-two-table-columns/m-p/742397#M146325
Dec 22, 2006
Dec 22, 2006
Copy link to clipboard
Copied
Thanks. That was exactly what I was looking for.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

