Another question, I have a query to show the last 10 threads from any forum with the title of the thread, the poster and the date. I want to add in the forum that it was posted in.
E.g
Forum - Thread Title - Poster - Time.
Do i need to query 2 tables for this, how ?
Here's the code i have already
Quote:
SELECT threadid, title, postusername,postuserid,dateline
FROM " . TABLE_PREFIX . "thread
WHERE sticky=0 AND visible=1
ORDER BY dateline DESC
LIMIT 10
|