Login Page/Var storage

Hey, I was looking at a tutorial I found here, located here: [URL=“http://www.kirupa.com/developer/actionscript/authentication.htm”] Works great, but the problem I have is I need to add a way to store variables from flash to MySQL per user. There are 3 variables I need to store, all of which are numerical. Every time a user logs in, those variables need to be loaded, and every time a change to them happens in the game, it needs to be saved to the database again. Could anyone help me out here? I have basic understanding of PHP & MySQL, and a moderate understanding of AS 2.0. Any tutorials which specify how to do this? Thanks, - Peter.