Code:
SELECT tb.fid,
tb.tid,
tb.topicname,
tb.erstellerid,
tb.helped,
tb.state,
us.pseudonym,
tb.hits
FROM topics tb,
user us
WHERE fid=".$forum." AND
tb.erstellerid = us.erstellerid
PHP-Code:
$query = "SELECT DISTINCT tid
FROM topicbeitraege
WHERE fid = ".$forum."
ORDER BY eid DESC LIMIT ".(($zeigeseite-1)*20).",20");
EDIT:
umbrüche by Abraxax




Ja ich will auch mitcounten 
Kommentar