Einzelnen Beitrag anzeigen
Alt 17.05.2002, 14:31   #2
Philipp
verXENt
 
Benutzerbild von Philipp
 
Registriert seit: 01.08.1999
Beiträge: 7.084

Mein Computer

Standard

Für sowas brauche ich 5 Minuten

PHP-Code:
$result mysql_query("SELECT threadid, title FROM thread ORDER BY lastpost DESC LIMIT 10");
while(list(
$threadid$title) = mysql_fetch_row($result)) {
    echo 
"<a href=\"vb2/showthread.php?threadid=$threadid\">$title</a>
"
;

Das einzige Problem ist jetzt nur wo die Threadtitel erscheinen sollen. Vielleicht unterhalb der News?
Philipp ist offline   Mit Zitat antworten