MYSQL Saving wrongly.
#1

Код:
		case 3:
	    {
	 		if(!response)
		    {
		        SendClientMessage(playerid, -1, "Plz relog to make new.");
	            Kick(playerid);
			}
	        else
	        {
				format(Query, sizeof(Query), "UPDATE `accounts` SET `Day` = '%d' WHERE `Name` = '%s'", inputtext, GetName(playerid));
				mysql_query(Query);
				}
		}
It's my ondialogresponse, but it saves always with number 55, but I wront 7 into database, Why it keeps doing it ?
It's like PlayerInfo[playerid][pDay]
Reply


Messages In This Thread
MYSQL Saving wrongly. - by NewbBeginner - 10.01.2011, 15:05
Re: MYSQL Saving wrongly. - by Mr.Stranger - 10.01.2011, 15:18
Re: MYSQL Saving wrongly. - by NewbBeginner - 10.01.2011, 15:18
Re: MYSQL Saving wrongly. - by JaTochNietDan - 10.01.2011, 15:28
Re: MYSQL Saving wrongly. - by Jochemd - 10.01.2011, 15:29

Forum Jump:


Users browsing this thread: 1 Guest(s)