Thread: shared database
View Single Post
  #6 (permalink)  
Old 06-15-2008, 01:43 PM
advancedmerchant's Avatar
advancedmerchant advancedmerchant is offline
WebProWorld Pro
 
Join Date: Aug 2003
Location: Fullerton, CA
Posts: 169
advancedmerchant RepRank 1
Default Re: shared database

You could do it by having a single database, and adding 2 fields- "SITE 1" and "SITE 2" When someone signs up at site #1, you build the record, and set "SITE 1" to true. Same for Site 2. If someone from one site wants to register at the other, they can enter their login, but get a message asking if they want to be registered under the same name at this site as well. Once paid, you would set the flag for the second site. You would just have to add logic to check for the proper flag at login time to both sites, but you would have a single, integrated database.
__________________
Accept Credit Cards Anywhere!
www.merchantanywhere.com
Reply With Quote