I am a php newbie.
The site is a sports site, and contains information on about 10 teams. However each team has it's own admin section.
I would like to have 1 general login page that lets a user access the database that relates to their team. I don't know how to do this.
Does anyone know how? or have an example of code that would make it work? or know how the database should be set up to handle it?
I have only done a simple login system before, nothing special.