MySQL - Float doesnt Loads/Saves
#8

Oh that's just an example when creating your table, it simply means change float to double in your phpMyAdmin or SQL file.

As for the "\" - this is used for strings inside " " - from what I know, such as:
pawn Код:
mysql_format(mysql, query, sizeof(query), "UPDATE `accounts` SET `Score`='%d', \
VIP='%d' WHERE id='%d'"
, pInfo[playerid][Score], pInfo[playerid][VIP],  pInfo[playerid][AccID]);
And one more thing, when you update your tables, always use ' ' for them. Like:
pawn Код:
`Score` = '%d', `PosX` = '%f'
Reply


Messages In This Thread
MySQL - Float doesnt Loads/Saves - by Saize - 21.01.2015, 00:58
Re: MySQL - Float doesnt Loads/Saves - by EnforcerDon - 21.01.2015, 01:07
AW: Re: MySQL - Float doesnt Loads/Saves - by Saize - 21.01.2015, 01:11
Re: MySQL - Float doesnt Loads/Saves - by Misiur - 21.01.2015, 01:26
AW: Re: MySQL - Float doesnt Loads/Saves - by Saize - 21.01.2015, 01:40
Re: MySQL - Float doesnt Loads/Saves - by Eyce - 21.01.2015, 01:40
AW: Re: MySQL - Float doesnt Loads/Saves - by Saize - 21.01.2015, 01:49
Re: MySQL - Float doesnt Loads/Saves - by Eyce - 21.01.2015, 01:54
AW: Re: MySQL - Float doesnt Loads/Saves - by Saize - 21.01.2015, 02:15
Re: MySQL - Float doesnt Loads/Saves - by Eyce - 21.01.2015, 02:30

Forum Jump:


Users browsing this thread: 3 Guest(s)