| http://www.w3.org/ns/prov#value | - With this program, if there is a multiple of 3 columns, there will be a blank row at the end.So you must output the linebreak -- if required -- *before* outputting the current <td>.CODE// --- at the beginning$col = 0; // last column filled (none so far!)// --- before outputting the current <td> if ($col == COLS) // last time filled the last column { echo '</tr><tr>'; // start new row -- linebreak
|