Huhu Alle,
habe da mal kleines Problemchen.
Ich fummel an einem Forum herum und möchte folgendes ausgeben.
Ich habe eine DB-Tabelle wo z.b. folgendes steht:
id , thread , Name , text , zeit
_________________________________
1 , 1 , Meier, textbla,irgendeine zeit
2 , 2 , Hans , textbla,irgendeine zeit
3 , 3 , Fritz, textbla,irgendeine zeit
4 , 4 , Hans , textbla,irgendeine zeit
5 , 3 , Meier, textbla,irgendeine zeit
6 , 3 , Gerd , textbla,irgendeine zeit
7 , 2 , Opa , textbla,irgendeine zeit
8 , 5 , Oma , textbla,irgendeine zeit
So und nun möchte ich absteigend sortiert nach id die threads auflisten bzw filtern, natürlich nicht doppelt sondern so:
8 , 5 , Oma , textbla,irgendeine zeit
7 , 2 , Opa , textbla,irgendeine zeit
6 , 3 , Gerd , textbla,irgendeine zeit
4 , 4 , Hans , textbla,irgendeine zeit
1 , 1 , Meier, textbla,irgendeine zeit
und das ganze noch mit einer sql-abfrage :-)
hat jemand einen tip für mich? bitte bitte.
danke im vorraus