Hi,
AND tid=".$_GET["tid"] "ORDER BY created DESC"
aber er sortiert nicht richtig, das neueste ist immer noch ganz unten.
Die letzte Zeile ist auch weiterhin unsinnig.
Informiere dich, wie man mit Strings umgeht, und wie man Variablen in sie einbettet:
http://www.php.net/manual/en/language.types.string.php
Und anschliessend informiere dich ueber SQL Injection, und was man dagegen unternimmt.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“