...

View Full Version : User and group managing



Pcfr43k
06-22-2010, 04:14 PM
Im trying to build a website in PHP with users in groups.
What is the best way to manage that?
Table with groups, table with users and what group the're in - and the rest in PHP?
Or is there a better way to do this?

Every user is going to be member of a group in the website.

Fumigator
06-22-2010, 04:48 PM
I would do three tables: members, groups, and members_groups cross-reference. This way a member can be in any number of groups, just put the relationship in the cross-reference table.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum