Why when I add an image in database the field contains <binary data> not the image name😭💔?? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Why when I add an image in database the field contains <binary data> not the image name😭💔??

5th Mar 2018, 10:06 AM
Faye Alqahtani
Faye Alqahtani - avatar
2 Réponses
+ 1
don't add the image .. just store it's filename along with path
5th Mar 2018, 10:46 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
That is how the image datatype works. It stores in binary. Why don't you store the image's path instead?
5th Mar 2018, 10:40 AM
Kai Schlegel
Kai Schlegel - avatar