Jump to content

Linking Various Tables


SithLordKyle

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/60935-linking-various-tables/
Share on other sites

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?  ;D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.