PHP/MySQL User system w/ groups.
- by Ben C
I have a user system set up in a 'users' table, and I have groups set up in a 'groups' table. Essentially, I want users to be able to join any and all the groups that they want, in the same was as one would on facebook.
How would one go about structuring this in a mysql/php database system? Just a quick summary would be helpful!
I've looked around, but I can only find info on creating 'groups' where the users just have a sort of 1, 2 or 3 permission rank.
Thanks!