Garage Creation: VIA mysql error
#4

Quote:
Originally Posted by Logic_
Посмотреть сообщение
Wrong statement.

it should be 'INSERT INTO table_name (fields, ...) VALUES(field_values, ...)'
Thanks for your help. I tried that earlier however I got

Код:
(error #1054) Unknown column '%d' in 'field list'
With this code

Код:
	mysql_tquery(g_iHandle, "INSERT INTO `garages` (`gID`) VALUES(`%d`)", "OnGarageCreated", "d", id);
Reply


Messages In This Thread
Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 02:58
Re: Garage Creation: VIA mysql error - by Logic_ - 28.04.2018, 02:59
Re: Garage Creation: VIA mysql error - by Zeth - 28.04.2018, 02:59
Re: Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 03:10
Re: Garage Creation: VIA mysql error - by Zeth - 28.04.2018, 03:12
Re: Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 03:17
Re: Garage Creation: VIA mysql error - by Zeth - 28.04.2018, 03:21
Re: Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 03:25
Re: Garage Creation: VIA mysql error - by Zeth - 28.04.2018, 03:35
Re: Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 03:42

Forum Jump:


Users browsing this thread: 2 Guest(s)