|
-
Oct 18th, 2000, 04:03 PM
#1
Thread Starter
Fanatic Member
Here it its...
SELECT * ,(SELECT COUNT(*) FROM replys WHERE replys.thread_id = threads.thread_id) AS reply_count FROM threads, members WHERE threads.forum_id = " & Forum_ID & " AND members.member_id = threads.member_id"
As i guess you can tell, this is for a message board system.
My problem is i want to pull out the member name from my members table that relates to my threads table. But it keeps pulling the same person out!
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|