use PHP result to format table
Posted: Thu Mar 30, 2006 5:17 am
Hi everyone!
I have to create some kind of dynamic page, logic is next:
i have integer in variable and i need to create certain number of fields based on that int....example
$variable = 6 and I need to have table with 6 fields, 4 in one row and 2 in second....my problem is how to do that, how to get new <tr> when number in bigger than 3....
thanks in advanced
I have to create some kind of dynamic page, logic is next:
i have integer in variable and i need to create certain number of fields based on that int....example
$variable = 6 and I need to have table with 6 fields, 4 in one row and 2 in second....my problem is how to do that, how to get new <tr> when number in bigger than 3....
thanks in advanced