PHP/MySQL User system w/ groups.
Posted
by Ben C
on Stack Overflow
See other posts from Stack Overflow
or by Ben C
Published on 2010-04-11T15:45:08Z
Indexed on
2010/04/11
15:53 UTC
Read the original article
Hit count: 382
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!
© Stack Overflow or respective owner