phpbar.de logo

Mailinglisten-Archive

AW: [php] Delete From...

AW: [php] Delete From...

Martin Spütz php_(at)_phpcenter.de
Mon, 22 Apr 2002 16:29:18 +0200


$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%\">&nbsp;</td>";
print "</tr>";
print "<tr>";
print "<td width=\"9%\">&nbsp;</td>";
print "<td width=\"89%\">$homepage</td>";
print "<td width=\"2%\">&nbsp;</td>";
print "</tr>";
print "<tr>";
print "<td width=\"9%\">&nbsp;</td>";
print "<td width=\"89%\">&nbsp;</td>";
print "<td width=\"2%\">&nbsp;</td>";
print "</tr>";
print "<tr>";
$comment = $result['kommentar'];
$comment = strip_tags("$comment"); 
$comment = nl2br($comment);


php::bar PHP Wiki   -   Listenarchive