Saving A Game

Hi, i was wondering if i had a flash game offline game. How could i make it possible to when they save tere file they can load it make up i want it like it gets saved to my my sql database is that possible? if yes how?