# Login Page/Var storage

**URL:** https://forum.kirupa.com/t/login-page-var-storage/196554
**Category:** programming
**Created:** [August 9, 2006, 1:09pm UTC](https://forum.kirupa.com/t/login-page-var-storage/196554 "2006-08-09T13:09:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SilverVenom](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@SilverVenom](https://forum.kirupa.com/u/SilverVenom)
#### Post date: [August 9, 2006, 1:09pm UTC](https://forum.kirupa.com/t/login-page-var-storage/196554/1 "2006-08-09T13:09:11Z")

</div>

Hey, I was looking at a tutorial I found here, located here: [URL=“[http://www.kirupa.com/developer/actionscript/authentication.htm](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.
