[sql]SELECT DISTINCT(post.threadid), thread.title FROM post, thread WHERE post.userid=1 AND thread.visible=1 AND thread.threadid=post.threadid ORDER BY post.dateline DESC LIMIT 5[/sql]
returned the following for me:
Code:
threadid thread.title
5333 Holy vs. Suija (Omega Arc vs. Sakura)
5332 Hatsuharu vs. Black Rose (Sasuke vs. Sakura)
5270 Xepher Bladewing vs. Black Rose (Xepher Bladewing ...
5255 Xepher Bladewing vs. Black Rose (Xepher Bladewing ...
5186 RPG Palace:: THE GAME!
Removing DISTINCT causes the mulitple threadid's to appear.