Saving Data to Server Database???

Hello, I’m new to the experience of coding and game making and I am having a very difficult time finding anything about how to save data (such as a custom script to load upon arrival and save on changes for the attributes and save position when leaving the game) to a database over the server. Also able to recall any account entered in the “Username” field and either allow or deny access to the client. The account list will be able to save an account and password upon creation and be loaded on entering a “Username” and verify the account is correct, then go through a password check. Player information will also be stored on one page of script per account, saving all inventory items and magic knowledge.

This has proved to be a difficult task, and I understand this is also why there is a lack of resources for this topic. If anyone is able to point me into the right direction I would be very grateful.

Example Script To Be Called:
Account = “AccountJimmy”
Password = “Pancakes”
PlayerInfo = “Jimmy”
PlayerStats{
10,
10,
10
ect…
}
So on and so fourth…

I am using Smartfox pro for my server, but if I understand correctly I am using an appropriate program, but I would like a more detailed login screen. Thanks.

Well for what you say personally I would go towards a mysql database retrieving and posting the data through a php script,
since its a login/upgrading/logout moment you can explain the 1 to 5 secs of lag while updating and receiving the data from the server

I haven’t been able to set up MYSQL, would you know of any references that would be able to set up that database for Smartfox pro?

Have you even tried to look through the Documentation for SmartFox on this subject? SmartFox has it’s own way of accessing a Database built right into it… Just look for it!