PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
replace your foreach loop with a for loop so you have control over the index of your array. For them html part just add another td tag, ie:<tr><td></td><td></td></tr>