19.09.2007, 08:03
|
#12 (permalink)
|
| WPD-Team
Registriert seit: 05.10.2006
Beiträge: 12.943
| Du kannst auch die Nummern hart davor schreiben. PHP-Code: $count = count($comments);
$comments = array_reverse($comments, true); /* reverse comments */
echo '<ul>';
foreach($comments as $comment) {
echo '<li>';
echo $count;
$count--;
...
echo '</li>';
}
echo '</ul>';
Der Code ist nicht perfekt und soll nur ein Hinweis sein.  |
| |