开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜