+ 1
How to store an image into a database and then retrieve the same in web designing, basically using xampp controller?
I have been creating a website as my project and this part is troubling me. The thing that's need to be done is to first upload an image via a form element and then on any other page it should be retrieved and shown. I have been working e-commerce website where users need to give information about a particular book including its image. I have tried the blob data type but I am not getting any output. Please help!
2 Réponses
+ 5
It should be feasible with the blob as you mentioned. Try checking some tutorials like:
https://www.codeproject.com/Questions/1251312/How-to-upload-image-to-mysql-database-and-display
If still no luck, post your code and maybe someone will be able to spot the error...
+ 1
Thank you, I'll try this tutorials.