Mailinglisten-Archive |
$ergebnis = mysql_query( "SELECT * FROM gb ORDER BY id desc limit $anfangsposition,$zeilen_pro_seite" ); $i = $anzahl; $i = $anzahl - $anfangsposition; $i++; while ($result = mysql_fetch_array($ergebnis)) { $name = $result['name']; $i--; $datum = $result['datum']; $uhr = $result['uhr']; $homepage = $result['homepage']; $id = $result['id']; $mail = $result['ebrief']; $dkommentar = $result['dkommentar']; print "<table border=\"0\">"; print "<tr>"; print "<td colspan=\"2\">$i.) $mail schrieb am $datum um $uhr:</td>"; //Uhrzeit print "<td width=\"2%\"> </td>"; print "</tr>"; print "<tr>"; print "<td width=\"9%\"> </td>"; print "<td width=\"89%\">$homepage</td>"; print "<td width=\"2%\"> </td>"; print "</tr>"; print "<tr>"; print "<td width=\"9%\"> </td>"; print "<td width=\"89%\"> </td>"; print "<td width=\"2%\"> </td>"; print "</tr>"; print "<tr>"; $comment = $result['kommentar']; $comment = strip_tags("$comment"); $comment = nl2br($comment);
php::bar PHP Wiki - Listenarchive