MySQL syntax problem.
#5

Quote:
Originally Posted by AndreT
Посмотреть сообщение
My dear god, that is a huge query and even if there's a real syntax error, finding it would be a pain, but I do have a few suggestions for you, starting with the most basic one: DO NOT SAVE DATA WHEN IT DOES NOT CHANGE.

For example, you're saving player's phone value (PlayerInfo[playerid][pPhone]). But how often is this actually changed? Inside a command or few, am I right? Then why do you save it in SavePlayer(playerid) function?
There are plenty of ways to use MySQL saving properly and efficiently as well, you should take advantage of those!
But how can I set it that it will save pPhone only when it'll change? can you show me the other ways to save into MySQL?
Reply


Messages In This Thread
MySQL syntax problem. - by printer - 12.05.2012, 11:12
Re: MySQL syntax problem. - by [MG]Dimi - 12.05.2012, 12:33
Re: MySQL syntax problem. - by printer - 12.05.2012, 12:34
Re: MySQL syntax problem. - by AndreT - 12.05.2012, 12:36
Re: MySQL syntax problem. - by printer - 12.05.2012, 12:54

Forum Jump:


Users browsing this thread: 1 Guest(s)