michealspencer Posted June 15, 2021 Share Posted June 15, 2021 Hi all, I'm newbie here and i have a question of database. I have two tables one with minfo and other is user both have u_id. And i want to access that id in minfo so that it updates with information by that id of user in that data. And u_id becomes primary of second table and primary of 1st table. Anyhelp how can i do this Quote Link to comment Share on other sites More sharing options...
Barand Posted June 15, 2021 Share Posted June 15, 2021 We need more information than that. What, precisely, are you trying to achieve? What are the the table structures? What is the relationship between the data in the two tables? Quote Link to comment Share on other sites More sharing options...
gizmola Posted June 15, 2021 Share Posted June 15, 2021 I agree with Barand. It sound like you are talking about making a SQL join between the two tables, but it's not clear. A SQL join is trivial, and you can find numerous examples with a simple google of MySQL JOIN, or if you're using some other database substitute that for MySQL. 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.