Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7629741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:54:49+00:00 2026-05-31T05:54:49+00:00

I am building a web-based ERP application for the retail industry using PHP and

  • 0

I am building a web-based ERP application for the retail industry using PHP and MySQL. I am going to have different local databases and one on the server(same structure). What I plan to do is run this app in localhost in different stores and at the end of the day update the database on the server from different localhosts in different stores.

Remember, I would like to update the database on the server based on the sequence queries run in different databases.

Can anyone please help me with this?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:54:51+00:00Added an answer on May 31, 2026 at 5:54 am

    You may have to log every insert/update/delete sql requests in a daily file with a timestamp of your request on local databases.

    Example :

     2012-03-13 09:15:00 INSERT INTO...
     2012-03-13 09:15:02 UPDATE MYTABLE SET...
     2012-03-13 09:15:02 DELETE FROM...
     ...
    

    Then send your log files daily on main server, merge all files, sort them to keep execution order and read new file to execute request on main database.

    However, it’s a curious way to do thing on ERP application. A product stock information can’t be merged, it’s a common information, be careful with this kind of data.

    You can’t use autoincrement with this process, this will cause duplicate key on some request or update requests on bad records.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently building a SmartGWT-based web application (using the Portlet Layout). So I have
I am building a very dynamic web-based application using a lot of Javascript to
I am building a web-based application. The frontend has been designed in Sproutcore. For
I'm building a simple web based forum application. I want to allow users to
I'm building an ASP .NET 2.0 (C#) based web application, which is primarily intended
I'm part of a team building an ADO.NET based web-site. We sometimes have several
I'm currently building a live web application based upon the PubSubHubBub protocol. However, I
I've been toying with the idea of building a web-based Roguelike game using Silverlight
I'm building Pylons-based web application with RESTful API, which currently lacks any authentication. So
I am building a web based application written in ASP.NET and Flex. One of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.