Looks like move_uploaded_file() function in php should help you but take a look at what you have given as the second parmater of this function. It is given as a file name, it should be the path to the destination - Please read about this function from the manual http://it2.php.net/manual/en/function.m ... d-file.php.

What does '$user.jpg' need to be replaced with in order to show all the images uploaded by one specific user?..

pick all the images for that user and show them one by one. I see that in your images table, you are saving images using file name, location and time. You need to pick all images for a particular user from here and show them one by one.