mysql float
#7

add ' ' in each number after VALUES
pawn Код:
format ( query, sizeof(query), "INSERT INTO houses(name, owner, owned, price, interrior, vw, eposx, eposy, eposz, tposx, tposy, tposz) VALUES ( '%s', 'noname', '0', '%d', '%d',' %d', '%f',' %f', '%f', '%f', '%f', '%f ')", name, price, interrior, 0, epos[0], epos[1], epos[2], tpos[0], tpos[1], tpos[2]);
Reply


Messages In This Thread
mysql float - by jaskiller - 07.01.2012, 15:17
Re: mysql float - by Tanush123 - 07.01.2012, 15:19
Re : mysql float - by jaskiller - 07.01.2012, 18:33
Re: mysql float - by Vince - 07.01.2012, 19:06
Re : mysql float - by jaskiller - 07.01.2012, 19:23
Re : mysql float - by jaskiller - 07.01.2012, 21:12
Re: mysql float - by Tanush123 - 07.01.2012, 21:26

Forum Jump:


Users browsing this thread: 2 Guest(s)