0

I'm really new to php and I need to create a script that will copy data from the table from one database server to another database server. But I don't know how to do that. Also, I don't need to copy all the fields in that table there are some specific fields only that I want to copy.

For Example :

Database 1 server -  SampleTable 1 fields

id | control_number |   date    | received | finished |
2  |    222222      |   2019    |    2018  |   2019   |

Database 2 server - SampleTable 2 fields


id | control_number | received  | finished |
2  |    222222      |   2018    |    2019  |

I found this question, but It didn't work for me.

2
  • show us what you have tried Commented Jan 7, 2020 at 6:37
  • @AmanjotKaur check this. I've posted new question. It includes codes that I have tried.. stackoverflow.com/questions/59622804/… Commented Jan 7, 2020 at 6:45

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.