Darf ich mal die dazugehörigen SQL-Statements sehen?
SELECT SUBSTRING( MAX( CONCAT( m.date, m.user)), 20) AS lastUser, MAX(m.date) as lastDate, t.*, COUNT(m.m_id) as msg, DATE_FORMAT(t.date,"%d.%m.%Y %H:%i") as date_f
FROM FORUM_thread t LEFT JOIN FORUM_msg m ON t.t_id = m.t_id
WHERE t.b_id=29
GROUP BY m.t_id
ORDER BY lastDate DESC
LIMIT 0, 10
das ist die 2. Variante, bei der 1. sind einfach die tabellen thread und msg vertauscht
Struppi.