Create a "user" table with at a minimum attributes "name" and "money" with which "name" should be unique.
Use SQL to retrieve and update "money".
If you don't know how to do any of this, just using ****** gives you some suggestions and tutorials. If setting up a MySQL database is too advanced for you, try SQLite first, which is natively supported.