MYSQL ERROR (error #1064)
#4

PHP код:
 mysql_format(mysqlmquerysizeof(mquery), "UPDATE `players` SET `PlayerposX` = '%f', `PlayerposY` = '%f', `PlayerposZ` = '%f', `Int` = '%d', `Vw` = '%d', `Health` = '%.1f', `Armour` = '%.1f' WHERE ID=%d"
    
pInfo[playerid][pX], pInfo[playerid][pY], pInfo[playerid][pZ], pInfo[playerid][pInt], pInfo[playerid][pVw],  pInfo[playerid][pHealth],  pInfo[playerid][pArmour], pInfo[playerid][Sqlid]); 
    
mysql_query(mysqlmquery); 
Thanks, i solved the problem to use this code.
Reply


Messages In This Thread
MYSQL ERROR (error #1064) - by memurt - 05.09.2014, 14:17
Re: MYSQL ERROR (error #1064) - by memurt - 06.09.2014, 07:02
Re: MYSQL ERROR (error #1064) - by TheNerka - 06.09.2014, 07:23
Re: MYSQL ERROR (error #1064) - by memurt - 06.09.2014, 09:01

Forum Jump:


Users browsing this thread: 1 Guest(s)