Jump to content

Copy client information from one database to another


wongle

Recommended Posts

Hi there,

I am new to PHP / MySQL and I would like to transfer a client's data (ID 223 for example) from the clients table on DB1 to the clients table on DB2. The databases have the same structure and used by two different companies.

Can this be done using PHP / MySQL please? I access the client data on a single page using display.php?id=223

Cheers.

Link to comment
Share on other sites

Perhaps you should describe the real-life situation here that makes you ask this question.  If you have two users who are looking at the same data I have to wonder why you want to duplicate this data rather than adjust your app to properly manage it.

Link to comment
Share on other sites

4 minutes ago, ginerjm said:

Perhaps you should describe the real-life situation here that makes you ask this question.  If you have two users who are looking at the same data I have to wonder why you want to duplicate this data rather than adjust your app to properly manage it.

Hi there - thanks for your reply, this is because they are 2 separate companies and clients are referred between the 2.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.