aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview/components/table.php
blob: e9ef32143fc1fe6f8803caeeab8f3a50babd7775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<table class="elgg-table">
<?php
	echo "<thead><tr><th>column 1</th><th>column 2</th></tr></thead>";
	for ($i = 1; $i < 5; $i++) {
		echo '<tr>';
		for ($j = 1; $j < 3; $j++) {
			echo "<td>value $j</td>";
		}
		echo '</tr>';
	}
?>
</table>