How To Connect My Flash Form To Any Database

I have a requirement: I have to create a form in flash connecting to database. for example:

Name:

Age:

Address:
Comments:

                                                                 [ SUBMIT ]

So after completing the form once the user clicks on “submit” button this information should automatically get stored in Database.

Now the problem is how should i do this…??

Thanx in advance