PHP-Code:
<?php
$query = mysql_query("SELECT id, mail FROM lotto");
while ($row = mysql_fetch_assoc($query)) {
$id = $row[id];
$mails = $row[mail];
}
print "<tr>
<td width=\"\168%\"\><font face=\"\Arial\"\ size=\"\2\"\><a href='uebersicht.php?action=mail&todo=detail&id=$id'.SID>$mails</a></font></td>
<td width=\"\8%\"\>
<p align=\"\center\"\><font face=\"\Arial\"\ size=\"\2\"\><a href='uebersicht.php?action=mail&todo=mail&id=$id'.SID><center>x</center></a></font></td>
<td width=\"\13%\"\>
<p align=\"\center\"\><font face=\"\Arial\"\ size=\"\2\"\><a href='uebersicht.php?action=mail&todo=dell&id=$id'.SID><center>x</center></a></font></td>
<td width=\"\37%\"\>
<p align=\"\center\"\><font face=\"\Arial\"\ size=\"\2\"\><a href='uebersicht.php?action=mail&todo=sperr&id=$id'.SID><center>x</center></a></font></td>
</tr>\n";
?>
Kommentar