Storing pictures in a database on phpMyAdmin
everyone. I am trying开发者_运维技巧 to create a database in which I can store pictures on phpMyAdmin. The pictures should be in a separate field of the database. How can I do this?
You'd ideally want to store the location of the file in the database vs. the actual image in the database so the database does not grow in size substantially.
You can use something along the lines of:
table: img_location
columns: id|title|url
精彩评论