I want to create a group function on my site and I'm wondering what the best way to do this would be? would i be best to create two tables groups and group_members? im fairly new to sql so im not so sure.
im thinking this:
groups group_id int(11) NOT NULL auto_increment, group_name varchar(32) NOT NULL
group_members id int(11) NOT NULL auto_increment, group_id int(11) NOT NULL user_id int(11) NOT NULL
users id int(11) NOT NULL auto_increment username varchar(24) NOT NULL password varchar(32) NOT NULL
would that be the best? or is there a better way?
Cheers boys
EDIT: CHECK MY LAST MESSAGE FOR ANOTHER QUESTION :)