Jump to content

php and mysql


quickfire84

Recommended Posts

If I am understanding you properly, you will need a reference in all the other tables to that id. So if you have an ID in a users table, if you then have an orders table it will have a field called user_id, which will contain the ID's from the user table that the order originated from.

 

Then just select what you want from the other tables based on the id/foreign key

Link to comment
https://forums.phpfreaks.com/topic/158227-php-and-mysql/#findComment-834575
Share on other sites

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.