jumpenjuhosaphat Posted January 10, 2007 Share Posted January 10, 2007 So what I need to do is to place data from a database into a table. The problem is that I need it to be placed into the table from top to bottom, then left to right, as opposed to left to right, then top to bottom.In other words, I have an alphabetized list that I would like to be produced like this:[table][tr][td]Amber[/td][td]David[/td][/tr][tr][td]Billy[/td][td]Ethan[/td][/tr][tr][td]Christine[/td][td]Frank[/td][/tr][/table]Is there a way to make this happen using HTML or is that a PHP thing?In other words, I'd like to read into the table downward, then when I enter a <tr> it would move me to the next column and to the top. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted January 10, 2007 Share Posted January 10, 2007 not with html - you could flip you array so that it would let you enter the details ltr then ttb! Quote Link to comment Share on other sites More sharing options...
fenway Posted January 10, 2007 Share Posted January 10, 2007 You can layout your table however you choose once you have the array of records. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.