Connect a flash application to a server database

I am a beginner in Flash applications. I have a flash mobile application for android. I need to connect the application to a database to add users and edit records. How can I do this? From where can I find examples or tutorials please?