Insert vehicle into DB ?
#6



Do what Debjit said above, he clearly explains you about the query.

Quote:
Originally Posted by Debjit
View Post
Ah Sorry , didnt noticed that, you are using a wrong INSERT syntax read more here
Here is the corrected line
PHP Code:
mysql_format(dbhandlequerysizeof(query), "INSERT INTO `server_vehicles` (Model, Color1, Color2, PosX, PosY, PosZ, PosA)VALUES('%d', '%d', '%d', '%f', '%f', '%f', '%f')"Vehicle_infos[vehicleid][v_Model], Vehicle_infos[vehicleid][v_Color1], Vehicle_infos[vehicleid][v_Color2], Vehicle_infos[vehicleid][v_PosX], Vehicle_infos[vehicleid][v_PosY], Vehicle_infos[vehicleid][v_PosZ], Vehicle_infos[vehicleid][v_PosA]); 
Reply


Messages In This Thread
Insert vehicle into DB ? - by Klayton - 20.10.2017, 01:32
Re: Insert vehicle into DB ? - by Zeth - 20.10.2017, 02:50
Re: Insert vehicle into DB ? - by Klayton - 20.10.2017, 04:17
Re: Insert vehicle into DB ? - by Zeth - 20.10.2017, 05:13
Re: Insert vehicle into DB ? - by Klayton - 20.10.2017, 05:52
Re: Insert vehicle into DB ? - by justice96 - 20.10.2017, 07:15
Re: Insert vehicle into DB ? - by Klayton - 20.10.2017, 07:17
Re: Insert vehicle into DB ? - by justice96 - 20.10.2017, 07:18
Re: Insert vehicle into DB ? - by Klayton - 20.10.2017, 07:19
Re: Insert vehicle into DB ? - by Zeth - 20.10.2017, 08:10
Re: Insert vehicle into DB ? - by Klayton - 20.10.2017, 08:27
Re: Insert vehicle into DB ? - by Zeth - 20.10.2017, 09:10
Re: Insert vehicle into DB ? - by Klayton - 20.10.2017, 10:40

Forum Jump:


Users browsing this thread: 8 Guest(s)