Problem with Query
#6

you have a count mistake, so that the whole query messed up;

you have inserted into 8 fields, meanwhile the values count are 7

Код:
`DeliveryID`, `DeliveryType`, `DeliveryObjective`, `DeliveryName`, `CashReward`, `FinalPositionX`, `FinalPositionY`, `FinalPositionZ`
Код:
VALUES('%d', '%s', '%s', '%d', '%f`, '%f', '%f')
the correct one according to your function parameters' types is:

Код:
VALUES('%d', '%d', '%s', '%s', '%d', '%f`, '%f', '%f')
Reply


Messages In This Thread
Problem with Query - by XStormiest - 21.05.2016, 08:32
Re: Problem with Query - by luke49 - 21.05.2016, 08:36
Re: Problem with Query - by XStormiest - 21.05.2016, 08:38
Re: Problem with Query - by ScIrUsna - 21.05.2016, 08:40
Re: Problem with Query - by Sjn - 21.05.2016, 08:41
Re: Problem with Query - by Sawalha - 21.05.2016, 08:45
Re: Problem with Query - by XStormiest - 21.05.2016, 08:48
Re: Problem with Query - by luke49 - 21.05.2016, 08:51
Re: Problem with Query - by XStormiest - 21.05.2016, 08:55
Re: Problem with Query - by Sawalha - 21.05.2016, 08:59

Forum Jump:


Users browsing this thread: 3 Guest(s)