How to save base64 to blob of MySQL?

PHP/MySQL BLOB Get/Put-Get/Post?

  • Hey Yahoo, I'm doing some stuff with PHP and MySQL. I would like to upload an image and then later (in another document) read off the database and display the image (getting an element by the id in the table). I know this is possible, any help? Thanks. R

  • Answer:

    It is possible, but not advised. What I would recommend is that you upload the image to a folder on your site, and then store the address of that image in your database, and call it from there.

R at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.