PHP-Code:
<html>
<body bgcolor=B7B0A6>
<center>
<table border=1 cellspacing=0 cellpadding=0 bordercolor=000000 widht=595>
<tr>
<td widht=100%><?php
include("config.php");
$connect= @mysql_connect($dbserver,$dbuser,$dbpass);
mysql_select_db($dbname,$connect);
$result= mysql_query("SELECT * FROM jokes ORDER BY ID");
while($row = mysql_fetch_row ($result)) {
echo $row[0] . " . ";
echo $row[1] . " ";
echo $row[2] . "<br>";
}
?><br></td>
</tr>
</table></center>
<a href="einfuegen.php">einfügen</a>
<a href="loeschen.php">löschen</a>
Kommentar