I am not 100% sure if you can store an image in a mysql database. What I do know is that you can store the location to the image in the database, have the image uploaded to the server, and have, say, a PHP script, call the database.
If you are wondering how to do PHP interaction with a mySQL database, I would be willing to help.
I have a publication "MySQL" written by Paul DuBois that has the answer for your question, yes you can do it and it is by using blob fields, the code is found on page 269 - Working With Image Data. I haven't got it to work yet because I am fairly new to C++, but I think I am close, if you look at this publication with the code in it and you get it to work, let me know how.
thanx
bill
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.