<table class="kalendetmidt">
<?php
//connect til database
$db=mysql_connect($dbhost, $dbusername, $dbpass) or die ('Cannot connect to the database because: ' . mysql_error());
mysql_select_db('whiteone_dk');
$result = mysql_query("SELECT * FROM koncertlite");
$html = '';
while($row = mysql_fetch_array($result)) {
$html .= "<tr><td>$row[1], $row[2]</td></tr>";
}
echo $html ;
?>
</table>
Brug table.
/AC
[Redigeret d. 31/05-04 00:43:54 af AC/F2]