MySQL - Query not storing data
#1

Any reason that this Query isn't submitting?

pawn Код:
// Should store the ID, the VehicleID and if the car is Linked
                    format(query,sizeof(query), "INSERT INTO `VehicleKeys` (ID,VehicleID,Linked) VALUES('%d','%d','%s','%d')",i,car,playerid);
                    mysql_query(query);
Should store the ID, the VehicleID and if the car is Linked

In the table 'VehicleKeys' there are 3 rows
-ID
-VehicleID
-Linked

The query Right above it that stores the vehicles in the 'Vehicle' table stores fine.
Reply


Messages In This Thread
MySQL - Query not storing data - by Deal-or-die - 28.06.2012, 07:58
Re: MySQL - Query not storing data - by JaTochNietDan - 28.06.2012, 08:09
Re: MySQL - Query not storing data - by Baboon - 28.06.2012, 08:09
Re: MySQL - Query not storing data - by Deal-or-die - 28.06.2012, 12:20
Re: MySQL - Query not storing data - by phillip875 - 28.06.2012, 13:32
Re: MySQL - Query not storing data - by Deal-or-die - 28.06.2012, 13:38
Re: MySQL - Query not storing data - by iGetty - 28.06.2012, 13:39

Forum Jump:


Users browsing this thread: 3 Guest(s)