$query = dbquery("SELECT * FROM zmones GROUP BY id");
echo "<table border='1'>";
while($data = dbarray($query)) {
$id = $data['id'];
$name = $data['name'];
$lytis = $data['lytis'];
$amzius = $data['amzius'];
$miestas = $data['miestas'];
echo "<tr>
<th>Heading</th>
<th>Another Heading</th>
<th>Another Heading 2</th>
</tr>
<tr>
<td>id - <b>$id</b></td>
<td><b>$name</b></td>
<td>$amzius</td>
</tr>";
}
echo "</table>";