08.12.2014, 08:40
Whats the problem
PHP код:
mysql_format(Mysql,q,sizeof(q),"UPDTAE `players` SET `Skin`=%d WHERE `ID` =%d",pdata[playerid][Skin],pdata[playerid][ID]);
mysql_tquery(Mysql,q,"","");
PHP код:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UPDTAE `players` SET `Skin`=5 WHERE `ID` =5' at line 1