Mysql stats saving problem.
#9

Change your query to:

pawn Код:
SELECT `Scores` FROM `"TABLENAME"` WHERE `Name` = '%s' AND `Password` = md5('%s') LIMIT 1
Also, your problem is that you're trying to execute two queries in the same area which is causing problems, because your money variable is going to be your score, because it's the result stored, and you can't get a value from MySQL by trying to assign it as mysql_query().
Reply


Messages In This Thread
Mysql stats saving problem. - by Vvolk - 07.05.2011, 13:41
Re: Mysql stats saving problem. - by Luis- - 07.05.2011, 13:44
Re: Mysql stats saving problem. - by Pooh7 - 07.05.2011, 13:45
Re: Mysql stats saving problem. - by GamingTurf - 07.05.2011, 13:45
Re: Mysql stats saving problem. - by SchurmanCQC - 07.05.2011, 13:48
Re: Mysql stats saving problem. - by GamingTurf - 07.05.2011, 13:56
Re: Mysql stats saving problem. - by Vvolk - 07.05.2011, 14:01
Re: Mysql stats saving problem. - by Vvolk - 07.05.2011, 14:03
Re: Mysql stats saving problem. - by Calgon - 07.05.2011, 14:21
Re: Mysql stats saving problem. - by MadeMan - 07.05.2011, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)