|
select forum.title, post.postid, post.title, post.username, post.dateline from forum, thread, post where post.threadid = '$each' and thread.threadid='$each' and thread.forumid = forum.forumid and post.visible='1' order by post.postid asc limit 1
here's where i'm at .. $each is the threadid array that i'm looping through. this query isn't working .. still trying to debug.
|