Browser-based game to interact with databases
I am trying to creating a simple game that will be played via a web browser. The game has to in-turn talk to a Database which holds "game pieces" and display them. The user will interact with these "game pieces" and through the game play expresses whether he likes the item or not. His preferences need to be recorded back into the Database (with the idea that ultimately we want to know how many gamers liked an item and how many disliked it).
Is this is an unusual request?
Since this has to be a browser-based game (and not a stand alone application), the difficulty seems to be that Adobe Flash does not have the ability to speak to Databases, at least in a straight forward way. If it was showing numbers or text from the database that seems to be doable. But to show images from the database seems to be a bottleneck.
I am seeking your help to see if it is indeed true that Flash cannot interface with Databases and if there are any other methods to make this game. I am not bound to Flash and any other program is fine too.