in reply to Database Layout
$cnt=1; print "<tr>\n"; while (($cnt++ % 5) != 0) { print " <td>test</td>\n"; } print "</tr>"; [download]