How to upload images into MySQL database using PHP code

前端 未结 3 1966
清酒与你
清酒与你 2020-11-22 15:21

I am trying to save images in my database from HTML form. I have written PHP code to accomplish this task. The program is not generating any error message, but also not inse

3条回答
  •  执念已碎
    2020-11-22 16:18

    This is the perfect code for uploading and displaying image through MySQL database.

    
    
    
    Image uploaded."; header('location:urlofpage.php'); } else { echo " error "; } } ?>

提交回复
热议问题