Hi perpetualshaun,
Your question is a little confusing. For one thing it seems that you have a many-to-many relationship between members and groups.
That is, a group can contain more than one member and a member can be part of more than one group.
To get a many-to-many deal, you need a third table:
pp_groupmembers(group_id, member_id)
Then your SQL would look like:
SELECT g.*, COUNT(m.member_id) AS member_count
FROM pp_groups AS g
LEFT JOIN pp_groupmembers AS m USING (member_id)
GROUP BY g.group_title
ORDER BY g.group_title ASC
LIMIT 0,50
Paul 🙂
PS. You might want to go back and edit your code to get rid of that long first line in the SQL. Makes the post really hard to read :queasy: