OMG das is schwer. nun hab ich folgendes uamgebastelt:
PHP-Code:
$query = SQL("SELECT T.*,P.*,MAX(Post_Time) AS Max_Post_Time FROM ".TABLE_TOPICS." T LEFT JOIN ".TABLE_POSTS." P ON T.Topic_ID = P.Post_Topic_ID WHERE T.Topic_Group = '".$Group_ID."' GROUP BY Topic_ID ORDER BY Max_Post_Time DESC",__FILE__,__LINE__);
nun hat Max_Post_Time den wert NULL wenn das posting ned vorhanden is ich will aber wenn das posting ned vorhanden is, das Max_post_Time den wert Topic_Date hat. *hrmpf*
geht das auch und wenn ja wie?