+ 5

How can i upload images in mysql database using php

7th Dec 2016, 2:21 AM
Owais Khan
Owais Khan - avatar
2 Respostas
+ 8
Use base64_encode() function in PHP to create string from IMG. And now you can save it in MySQL. But use blub or text data type, it store large data in it. But I suggest you to upload it to a folder, because some good quality imgs have a large encode value and it slow down your webpage. Hope it helps
7th Dec 2016, 3:03 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
And use lots of RAM
25th Mar 2018, 7:43 PM
Jean-louis du Plessis
Jean-louis du Plessis - avatar