MySQL - Query not storing data
#2

You specified too many values:

pawn Код:
"INSERT INTO `VehicleKeys` (ID,VehicleID,Linked) VALUES('%d','%d','%s','%d')"
You're only specifying 3 columns to insert a value into, yet you specify 4 values?

It should be more along the lines of this:

pawn Код:
"INSERT INTO `VehicleKeys` (ID,VehicleID,Linked) VALUES(%d,%d,%d)"
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: 1 Guest(s)