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 6369331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:47:28+00:00 2026-05-25T00:47:28+00:00

I want to give users the functionality of export data from one WordPress plugin

  • 0

I want to give users the functionality of export data from one WordPress plugin installation from one site to another. A "WordPress plugin" doesn’t make the difference, I’m interested in the recommended approach to export/import data in a PHP application that has the data stored in a MySql database. The data is related to each other in the database.

I’m interested in:

  • Which is the recommended format to store the data in the exported file (JSON, Xml, serialized)? Taking into care that the data is related to each other by fields in each of the MySql tables, and that can be very big.

Example:

The student table has an ID, Name, and Class_ID…

The class table has an ID, Description…

  • Which are the recommendations to avoid specific users problems with hosting configurations that could affect the exporting or importing of large amount of data?

Example: the execution time, the max files size, the max allowed database queries


Important take into care that destination system could have already data that have the same values in the fields declared as keys, for example:

I export the Class with

ID = 5, and Description = "This is cool class"

and in the destination database could be already the Class with:

ID = 5, and Description = "This is other old class"

Where ID is the primary key in "Class" table.


Any idea around this will be appreciated.
If some other information is required let me know.

  • 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-25T00:47:29+00:00Added an answer on May 25, 2026 at 12:47 am

    I would suggest you write your data into XML. It means you have to construct the XML on export, and then you have to read the XML file on input. This way, you control the format and you can change how you handle the import between versions of your plugin.

    I can add a bit more detail on how to do this, if you need, but it looked like you were just looking for information on the general approaches.

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

Sidebar

Related Questions

I want to give my users the ability to record a video from WebCam
I have almost 100MB of example.sql file. (Actually data export file from another database)
I want to give users the possibility to dynamically add new columns at the
I've a table with lots of columns. I want to give users the option
I want to give my users the ability to choose how their public page
i have a wordpress blog and want to give people the same user experience
I have an Asp.net Mvc site where I want to give a separate access
I want to give a user access to a stored procedure, but not to
I have a tree control and I want to give the user the ability
I am using a Lucene.Net index and want to give the user an option

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.