Jump to content

CSV


PHP_TRY_HARD

Recommended Posts

I am fairly new to PHP and I want to get data off another database sitting on a different server.  Is the best way to go about this

  • Spit out a CSV every day (automated)
  • Grab that CSV and insert it into the other database (automated)

 

Is this the best way to sync the data?  I want to use PHP and mySQL.

Link to comment
Share on other sites

I am using an Apache server.  I don't need to update every day, just whenever the database changes.

 

The only thing I want is when I update the database I want it to be updated on all servers.  Is it safe or even possible to access a database that isn't local host?

 

Database Drive....  I will look into it.  Is this something that should be loaded into my cpanel on an Apache server? 

 

Thank you all for your suggestions, I need some good advice before I get stuck into this project.

 

 

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.