MySQL does not update me
#1

Hello, I have been testing to see if everything is going well, but at the moment of disconnecting I do not update the data of the player in the database. To see that the variables are fine I print them and for example I print them in one but when updating the table I do not update it stays in zero.

PHP Code:
    new DB_Query[256];
    
mysql_format(DatabaseDB_Querysizeof(DB_Query), "UPDATE `USUARIOS` SET `NIVEL` = '%d', `DINERO` = '%d', `ASESINATOS` = '%d', `MUERTES` = '%d' WHERE `ID` = '%d' LIMIT 1",
    
InfoU[playerid][pNivel], InfoU[playerid][pDinero], InfoU[playerid][pAsesinatos], InfoU[playerid][pMuertes], InfoU[playerid][ID]); 
Reply


Messages In This Thread
MySQL does not update me - by Swankeh - 23.09.2017, 15:52
Re: MySQL does not update me - by BreakStore - 23.09.2017, 16:41
Re: MySQL does not update me - by whadez - 23.09.2017, 16:47
Re: MySQL does not update me - by Swankeh - 23.09.2017, 16:56
Re: MySQL does not update me - by whadez - 23.09.2017, 17:04
Re: MySQL does not update me - by Swankeh - 23.09.2017, 17:16
Re: MySQL does not update me - by Swankeh - 23.09.2017, 17:26
Re: MySQL does not update me - by whadez - 23.09.2017, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)