Re: Creating user groups in social application (e.g. facebook group)

From: Date: Fri, 25 Jul 2008 15:08:37 +0000
Subject: Re: Creating user groups in social application (e.g. facebook group)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-277315@lists.php.net to get a copy of this message
Since I would assume a user could be a part of any number of groups, I would suggest that you just make a seperate table. Maybe with simple columns like this: //GROUP TABLE key group_id member_id join_date Then you can just compare it to your member table when someone tries to access a group page. And then use a simple query and allow access to the group page if member_id in your members and group table is the same, and the group_id they are trying to access matches the group_id in the table. Or something like that... Dan On 7/25/08, Don Don <progwihz@yahoo.com> wrote: > > Hi All, > > Has anyone created or has tips for the creation of user groups in a > app. e.g. a Facebook group ? > > I am trying to create groups in a social application where users on the > site can join a group etc its just much like a facebook group. > > Any help will be appreciated. > > Ta. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#277315) next »