<?PHP
mysql_connect('localhost','root');
mysql_select_db('wi');
$sql="SELECT w_nr, w_tag FROM wonr14;
$ergebnis=mysql_query($sql);
echo"<table border=1>";
echo"<tr>";
echo"<td>";
echo"Nummer";
echo"</td>";
echo"<td>";
echo"Tag";
echo"</td>";
echo"</tr>";
while($daten=mysql_fetch_array($ergebnis)) {
echo"<tr>";
echo"<td>";
echo $daten['w_nr'];
echo"</td>";
echo"<td>";
echo $daten['w_tag'];
echo"</td>";
echo"</tr>";
}
?>