How can I store and retrieve images from a MySQL database using PHP?

后端 未结 6 2196
心在旅途
心在旅途 2020-11-22 05:21

How can I insert an image in MySQL and then retrieve it using PHP?

I have limited experience in either area, and I could use a little code to get me started in figur

6条回答
  •  被撕碎了的回忆
    2020-11-22 05:32

    Instead of storing images in database store them in a folder in your disk and store their location in your data base.

提交回复
热议问题