<?php
$db = mysql_connect('localhost',
'root');
mysql_select_db('xanadu',$db);
$result
= mysql_query('SELECT * FROM vokabeln',$db);
?>
<table border=1>
<tr><td>Deutsch</td><td>Englisch</td><td>Erläuterung</td></tr>
<?php
while ($row = mysql_fetch_row($result))
{
?>
<tr><td><?=$row[1]?></td>
<td><?=$row[2]?></td>
<td><?=$row[3]?></td></tr>
<?php } ?>
</table>
|