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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:41:38+00:00 2026-06-06T21:41:38+00:00

I was looking for an example how to store a large text array (

  • 0

I was looking for an example how to store a large text array ( javascript ) into my mySQL Database as BLOB.

I don´t know which solution works:

  1. Javascript array will be send via Ajax JSON then processed via the PHP File.
    Convert JSON -> BLOB and save into mySQL Database.
    Fetching BLOB convert to JSON send to javascript variable.

  2. Create a BLOB with arraydata and send a BLOB file via Ajax ( possible? ) and store it in
    the database. Fetching Blob via Ajax converting it in javascript back to an array.

It would really help me if somehow has some tutorials regarding this question.
I have seen some rough examples for saving images (MIME: Type PNG etc) but not MIME: Type Text.

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-06-06T21:41:39+00:00Added an answer on June 6, 2026 at 9:41 pm

    Already solved it.
    Question closed.

    I just base64_encoded and base64_decoded the variable as usual.
    You just had to assure that in the my.ini (mySQL) max_packet size was set larger than 1MB in order to save the file, that was the reason it was not working.

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

Sidebar

Related Questions

I have an ASP.Net website which uses a MySQL database for the back end.
Basically I'm looking for a solution which returns if a given combination matches a
Is it a good idea to store large amounts of text (eg html pages)
I am looking for a way to store a large variable number of matrixes
So I am looking to store a date in my SQL database and am
I'm looking for the best solution to store Java EE application's global data using
I'm looking for a way to store a very large image (e.g. 100.000x100.000 pixels)
I'm looking for example code for setting up a connection to a bluetooth device
I'm looking for example of how I would solve the scenario below: Imagine my
I'm trying to learn Rails better by looking at example applications, and while looking

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.