SQL Error Syntax
#1

pawn Код:
mysql_query("UPDATE `ownedcars` SET Location_Y='%s'", CarInfo[idx][cLocationy]);
I need help on the slightest thing....

"CarInfo[idx][cLocationy]" How do I put that as a FLOAT? because I get warning tag mismatch errors, because its a float in the enum section, for the cars.

How do you use float in SQL?

Thanks
Reply
#2

you have use the placeholder %f and if you don`t use a hooked version of mysql_query or a #define
then you have to use even format or mysql_format
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)