Categories > TinyButStrong general >

2D table with MySQL query as columns

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: David Christensen
Date: 2003-12-17
Time: 21:10

2D table with MySQL query as columns

I'm having a rough go with trying to get the template to output the correct format for my data.  I have my data in a MySQL DB and wish to query it one table row at a time.  Only problem is, the results from the query are a column and I need them to display in the table row.

If I haven't jumbled this around enough, the basic concept is a draft board for a fantasy league.  The template will display the results of the draft in a table, with the top header being the draft rounds and the 1st column being the owners who are drafting.  To make things just a bit more difficult, I desire to have two variable fields in each table data field.