Printing HTML table rows with implode()
<? $dimsum = array('A','B','C'); print '<tr><td>' . implode('</td><td>',$dimsum) . '</td></tr>'; ?>