team system ? need some help...

J

John Griffiths

hi, i've got to build some sort of team system where many users can add
themselves to one team.

now i've thought about doing this a couple of ways but one that sticks
is creating a Team table with a record for each team.

then in the user table create a field containing the team_id for the
team their joined to.

any idea if this is along the right path and maybe the code involved to
create that team record when the user is created (if said team doesn't
exist yet).

appreciate your thoughts,


John.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,269
Messages
2,571,346
Members
48,021
Latest member
anchal126

Latest Threads

Top