Car Colors command and MySQL
#6

When you're using a define for the table use it inside the quotation mark as shown below

pawn Код:
format(query,sizeof(query),"UPDATE `"TABLE_CARS"` SET `colors` = '%i, %i' WHERE `id` = '%i'", color[0], color[1], 1);
Reply


Messages In This Thread
Car Colors command and MySQL - by GuitarMan - 21.01.2015, 20:20
Re: Car Colors command and MySQL - by Ironboy - 21.01.2015, 20:27
Re: Car Colors command and MySQL - by GuitarMan - 21.01.2015, 22:22
Re: Car Colors command and MySQL - by nGen.SoNNy - 21.01.2015, 22:29
Re: Car Colors command and MySQL - by Schneider - 21.01.2015, 22:30
Re: Car Colors command and MySQL - by Ironboy - 21.01.2015, 22:31
Re: Car Colors command and MySQL - by GuitarMan - 21.01.2015, 22:38

Forum Jump:


Users browsing this thread: 1 Guest(s)