MySQL Error in the Query?
#1

I am having a problem here, most likely to do with the floats. Does anybody know the problem?

Код:
format(Query, sizeof(Query), "INSERT INTO `accounts` (username, password, level, cash, pos_x, pos_y, pos_z) VALUES('%s', '%s', '%d', '%f', '%f', '%f')", EscapedName, EscapedPassword, 1, 2500, 1742.9363, -1861.8215, 13.5770);
Reply


Messages In This Thread
MySQL Error in the Query? - by Antonio [G-RP] - 08.07.2010, 22:35
Re: MySQL Error in the Query? - by Antonio [G-RP] - 09.07.2010, 00:30
Re: MySQL Error in the Query? - by Carlton - 09.07.2010, 00:41
Re: MySQL Error in the Query? - by Antonio [G-RP] - 09.07.2010, 00:56
Re: MySQL Error in the Query? - by Carlton - 09.07.2010, 01:01
Re: MySQL Error in the Query? - by Antonio [G-RP] - 09.07.2010, 01:14
Re: MySQL Error in the Query? - by Carlton - 09.07.2010, 01:15
Re: MySQL Error in the Query? - by Antonio [G-RP] - 09.07.2010, 01:18
Re: MySQL Error in the Query? - by Antonio [G-RP] - 11.07.2010, 00:01
Re: MySQL Error in the Query? - by Carlton - 11.07.2010, 00:14

Forum Jump:


Users browsing this thread: 1 Guest(s)