+ 2
Please How Do I Upload Multiple Image Into Mysql Database Using Php
I want to upload like 3 images from 3 inputs forms how to I process and insert the image into my database .. thank you
1 Answer
+ 3
You don't want to store the image itself in the database, instead you want to save the file on the server and insert the file name/path into a column. You could run a foreach loop, so for each input that has a value which isn't null, then run the same query for each one to insert the image name and save the file to the server.