PhpMyAdmin database - how to get images sent to it?
Autore: Graeme G.
Visite 851,
Followers 2,
Condiviso 0
Hi - I am trying to collect data via this link https://www.topek.co.uk/projects.html
Everything is successfully making its way into the database except the images, the image file names appear but not the actual images, how can I get the database to store the actual images and them be available to download?
Thanks!
Postato il
Hello,
In your DB you need to define the field with "Blob" to stock file directly into your DB and to get it after
https://www.tutorialspoint.com/What-is-BLOB-data-type-in-MySQL
But it's not the best because your DB will grow quickly.
The best is to have the file name into you DB, the put the file on your disk and to get the file by path\DB_filename. Like that your DB will not be populate by files.
Hope this helps
https://wsx5.afsoftware.fr
Autore
Thanks for the reply - do you have a step by step instruction for how to do this? Please see attached there is a BLOB data appearing in the field at the top, but I need step by step instructions on how to program this. Thanks!
check you DB structure to see if the type is blob for your field
Use google to check on how to. I have nothing ready
https://wsx5.afsoftware.fr