MySQL - What are rows and fields?
#7

Код:
PlayerInfo[playerid][pSpawn] = cache_get_field_content_int(0, "Spawn");
PlayerInfo[playerid][pGender] = cache_get_field_content_int(0, "Gender");
PlayerInfo[playerid][pLevel] = cache_get_field_content_int(0, "Level");
PlayerInfo[playerid][pEntered] = cache_get_field_content_int(0, "Entered");
PlayerInfo[playerid][pMinutes] = cache_get_field_content_int(0, "Minutes");
PlayerInfo[playerid][pTMinutes] = cache_get_field_content_int(0, "TMinutes");
PlayerInfo[playerid][pHours] = cache_get_field_content_int(0, "Hours");
PlayerInfo[playerid][pAge] = cache_get_field_content_int(0, "Age");
PlayerInfo[playerid][pADMute] = cache_get_field_content_int(0, "ADMute");
PlayerInfo[playerid][pModel] = cache_get_field_content_int(0, "Model");
PlayerInfo[playerid][pModel1] = cache_get_field_content_int(0, "Model1");
PlayerInfo[playerid][pModel2] = cache_get_field_content_int(0, "Model2");
PlayerInfo[playerid][pModel3] = cache_get_field_content_int(0, "Model3");
PlayerInfo[playerid][pMapper] = cache_get_field_content_int(0, "Mapper");
PlayerInfo[playerid][pBanned] = cache_get_field_content_int(0, "Banned");
PlayerInfo[playerid][pNumber] = cache_get_field_content_int(0, "Number");
PlayerInfo[playerid][pKill] = cache_get_field_content_int(0, "Kill");
PlayerInfo[playerid][pDeath] = cache_get_field_content_int(0, "Death");
PlayerInfo[playerid][pInt] = cache_get_field_content_int(0, "Interior");
PlayerInfo[playerid][pVW] = cache_get_field_content_int(0, "Virtual World");
With using this, is there something I need to use to define what user to save it to? Like an ID for something?
I use an ID to define the saving, should it be the same for loading?

Like:
Код:
WHERE `ID`=%d"
Reply


Messages In This Thread
MySQL - What are rows and fields? - by Ciarannn - 28.04.2015, 19:46
Re: MySQL - What are rows and fields? - by Konstantinos - 28.04.2015, 19:53
Re: MySQL - What are rows and fields? - by Ciarannn - 28.04.2015, 20:01
Re: MySQL - What are rows and fields? - by Konstantinos - 28.04.2015, 20:04
Re: MySQL - What are rows and fields? - by Ciarannn - 28.04.2015, 20:06
Re: MySQL - What are rows and fields? - by Konstantinos - 28.04.2015, 20:09
Re: MySQL - What are rows and fields? - by Ciarannn - 28.04.2015, 20:30
Re: MySQL - What are rows and fields? - by Konstantinos - 28.04.2015, 20:35
Re: MySQL - What are rows and fields? - by Ciarannn - 28.04.2015, 20:37
Re: MySQL - What are rows and fields? - by Konstantinos - 28.04.2015, 20:40

Forum Jump:


Users browsing this thread: 4 Guest(s)