How do I upload a photo to mysql table.

Avatar
  • Answered
I want to be able to upload and store photos in a database so I can call them will php.
Further they are .png images with transparency.
Thanks for any help.
Avatar
jamesr
Thank you for your question Mam1606!

In order to upload images to a database you will need to make a field in your database to store blob data. Please see the following link on this.

http://www.codewalkers.com/c/a/Database-Articles/Storing-Images-in-Database/

Once you have the database set up to store blob data you will be able to insert them with PHP and call them with PHP.

Best Regards,
James R