mysql help [+REP]
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
It's not in that query but in INSERT instead.

You used %s but you need to use '%s' or even better '%e' (so it escapes strings to avoid SQL Injection).

pawn Код:
INSERT INTO `pvehicles` (`vOwner`, `vModel`, `vColor1`, `vColor2`, `vX`, `vY`, `vZ`, `vA`) VALUES ('%e', %i, %i, %i, %f, %f, %f, %f)
thnx mate it's works repped
Reply


Messages In This Thread
mysql help [+REP] - by simo0000 - 23.05.2015, 20:40
Re: mysql help [+REP] - by Konstantinos - 23.05.2015, 20:50
Re : Re: mysql help [+REP] - by simo0000 - 23.05.2015, 20:58

Forum Jump:


Users browsing this thread: 3 Guest(s)