Database will contain several fields
Field1 Text
Field2 Text
Field3 Text
Field4 Text
Field5 Text
Field6 Numerical
Field7 Picture
User at website can choose a selection from a combination of fields 1 through 6 and it will randomly select a matching record and display that image... for example if it were a dating site, you would choose City, State, neighborhood, personality type, income, and rating. and it would display a picture of the man/woman randomly from the records that matched.
I'm not too worried about the graphics of the site, I can do that part, however the mechanics and the connection to the database is beyond me.