Welcome Guest, Not a member yet? Register   Sign In
Show database results in a table
#5

[eluser]Alninio[/eluser]
When you say 4 columns in order do you mean like a newspaper column layout where you fill the first column then the second then the third and finally the fourth or do you mean row by row?

i.e.

result 1 result 5 result 9 result 13
result 2 result 6 result 10 result 14
result 3 result 7 result 11 result 15
result 4 result 8 result 12 result 16

or

result 1 result 2 result 3 result 4
result 5 result 6 result 7 result 8
result 9 result 10 result 11 result 12
result 13 result 14 result 15 result 16

Either way you can put a counter inside your loop and add in the row/cell tags at the right places.

<edited for layout>


Messages In This Thread
Show database results in a table - by El Forum - 11-20-2009, 10:28 PM
Show database results in a table - by El Forum - 11-20-2009, 11:10 PM
Show database results in a table - by El Forum - 11-21-2009, 12:18 AM
Show database results in a table - by El Forum - 11-21-2009, 01:27 AM
Show database results in a table - by El Forum - 11-21-2009, 08:43 AM
Show database results in a table - by El Forum - 11-21-2009, 10:29 AM
Show database results in a table - by El Forum - 11-21-2009, 07:02 PM
Show database results in a table - by El Forum - 11-22-2009, 06:58 AM
Show database results in a table - by El Forum - 09-28-2012, 07:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB