Hi,
I'm having 2 sites with 2 different user tables now i want is that a user registered on site a his also registerd on site b i did that correctly in the script with insert into ....
here's my question
Well if a user sign up on site a and another user sign up on site b at the same time i want that this works correct because the user need the same userid on both tables. Is there a function for something like this?
Regards
Kris
1 table on 2 different domains for users
Moderator: General Moderators
-
rodrigocaldeira
- Forum Commoner
- Posts: 27
- Joined: Wed Mar 05, 2003 6:40 pm
- Location: Brazil
- Contact:
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
You're going to have to query the other database when a user tries to register. For example, if someone tries to register on site a you check the site b user table, if they are registered there you give them the same ID as their initial registration, if not you give them the next available ID for site a and insert them into site b's user table as well with the ID from site a.
Mac
Mac