There are plenty of tutorials out there for file uploads (and others specifically for image uploads, which is pretty much the same thing). Just search google.
Then for your database, just store the file name of the image in a column, and you're pretty much all set.