Stuff
public php v1 · immutable<table><caption>tablestuff</caption><tr> <th>DATE</th> <th>test</th> <th>test</th> <th>test</th> <th>test</th> <th>test</th></tr><tr><?php$sql = "SELECT post_ID, txt FROM table";$query = mysql_query($sql) or die();$i = 1;while ($row = mysql_fetch_array($query)) { $id = $row['post_ID']; $text = $row['txt']; if ($i % 6 == 0) { echo "<td>$text</td></tr><tr>"; } else if ($i % 6 == 1) { echo "<td>Date</td>"; } else { echo "<td>$text</td>"; } $i++;}?></tr></table>