Actually I had get the image string from the JSON in my android project. The string image successfully pass to using HTTPPOST.
Now, I face the problem on saving an image as blob type in mysql database in php.
How to convert the string image i get so that it can be save as a blob type in mysql database?
If anyone know the way please kindly advice.
Thank you.
Just base64_decode() the data:
Then write it to the DB. If you need help getting the encoded string out of the
POSTarray have a look at the PHPjson_decodefunction: http://php.net/manual/en/function.json-decode.php