Why don't you tell us more about what you want to achieve? Do you want to upload pictures? If so, easy. Also, "add to database". What kind - online MySQL powered by PHP? Local SQL? Enlighten me. How are you storing the images - just the filepaths by varchar or the actual images? Hmm. I would like to help you....
- James