Hey folks,
I found the answers to many variations of this question, but have found nothing to answer this particular issue. Perhaps you can provide some guidance.
What I have is an array that I wish to display as 3 columns in an HTML table. If the values in the array were ascending integers, the table should look like this:
| 1 | 4 | 7 |
| 2 | 5 | 8 |
| 3 | 6 | 9 |
Currently the only result I can get that's close is...
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
I can get the table to behave if it were only two columns (sorting ascending by column), but I'm stumped on how to get the results I need in three columns.
Any direction you can provide is much appreciated.
Regards,
TS