I looked here: Array into a table with 5 cells in each row
but I cannot adapt my code..
I need to display PHP array results in a table. The table needs to have 3
use the mod operator % to check for the third element. e.g.
if($i%3 == 0) { // this is the third element, start a new tr here }