anarchist
09-26-2003, 08:47 AM
I have a page which dynamically generates a table using two sql queries, I can only deal with one at a time
the problem is the table thats generated needs the results of the first query as row headers and the results of the second beside it as the row data in the second column
what I need to know is, is there a way to generate a table column by column rather than the usual row by row method?
the obviouse solutions are to use two tables one beside the other or to set the column headings to javascript variables and then write them to the page, both mothods are fine but not ideal, especially if I could use the way I want
the problem is the table thats generated needs the results of the first query as row headers and the results of the second beside it as the row data in the second column
what I need to know is, is there a way to generate a table column by column rather than the usual row by row method?
the obviouse solutions are to use two tables one beside the other or to set the column headings to javascript variables and then write them to the page, both mothods are fine but not ideal, especially if I could use the way I want