SithLordKyle Posted July 20, 2007 Share Posted July 20, 2007 I was wondering about the feasibility of linking three different tables together. Normally this is a simple procedure from what I can see, but this is a little more particular maybe. There are three different systems running on our website; a blog system, a content management system, and a gaming system. Each has it's own table. Each also has it's own registered users table, the ones we want to link. Basically we want to set it up so if you log into one system, you'll be logged into each system. All of the tables use a user_id row with the same charset, which I believe may be necessary to pull this off. Any suggestions on coding? Quote Link to comment Share on other sites More sharing options...
Wildbug Posted July 20, 2007 Share Posted July 20, 2007 Suggestion: Make a fourth table of your own device, linking together each of the three systems. Create a login of your own that does whatever is necessary to the tables to define a user as logged in. Quote Link to comment Share on other sites More sharing options...
SithLordKyle Posted July 26, 2007 Author Share Posted July 26, 2007 As in running the processes? There are a few lines of code that would make a user logged in, and I believe it varies through each table.. or at least the amount of rows used. I assumed if they all had the same rows, named the same, for the username, user_id, and password that would be enough. Perhaps linked together in php, though I did read something on this before. Any way to clarify that a little bit more? Quote Link to comment Share on other sites More sharing options...
SithLordKyle Posted July 26, 2007 Author Share Posted July 26, 2007 I think I may have misspoken (or mis-typed). I mean to connect the user tables in three different databases; technically three tables in three databases. Once logged into one, it also allows access (logged in status) to the other two. Quote Link to comment Share on other sites More sharing options...
fenway Posted July 30, 2007 Share Posted July 30, 2007 This a common question... the real issue is dealing with the actual php code to "log in", not the DB side. Quote Link to comment Share on other sites More sharing options...
SithLordKyle Posted July 31, 2007 Author Share Posted July 31, 2007 Any suggestion on to where to look for an answer to this? Or perhaps some php coding? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.