12.10.2012, 01:28
Hello,
I'm having a bit of a problem with the loading of MySQL based player stats.
I'm using the code below, but it's not loading anything from the database, yet if I manually edit the database again to set the correct stats, when it logs the account on, it'll wipe the stats, and remove the password etc.
The code is here:
http://pastebin.com/m1NiL6J4
Could someone please explain what I'm doing wrong, and help me correct it please - I've been toying for hours now.
I'm having a bit of a problem with the loading of MySQL based player stats.
I'm using the code below, but it's not loading anything from the database, yet if I manually edit the database again to set the correct stats, when it logs the account on, it'll wipe the stats, and remove the password etc.
The code is here:
http://pastebin.com/m1NiL6J4
Could someone please explain what I'm doing wrong, and help me correct it please - I've been toying for hours now.