Garage Creation: VIA mysql error
#3

Along with that above fix mentioned by @Logic_ , You are missing ` at hID.

PHP код:
mysql_format(g_iHandlequerysizeof(query), "INSERT INTO `garages` SET `hID` = %d, `GarageOwner` = '%s', `GaragePosX` = %f, `GaragePosY` = %f, `GaragePosZ` = %f, `GaragePosA` = %f, `GarageIntX` = %f,`GarageIntY` = %f, `GarageIntZ` = %f, `GarageIntA` = %f, `VirtualWorld` = %d, `Interior` = %d, `Status` = %d, `ForSale` = %d, `Price` = %d WHERE `gID`=%d",
        
GarageInfo[id][hID], 
Its not necessary to use `, you can simply avoid it.
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: 3 Guest(s)