How to upload a number of photos to a server and the path to a mysql table?

I have already solved the problem for an image. What I do not know is how to make it work for a number of images, can someone help?