Recover a value[mysql]
#5

Thank you guy !
If I follow the tutorial in your signature, might I be able to understand how to recover a value from a database ?


What's the difference between threated query and non threated ?

Could you please give me an exemple of a usage of ORM system to recover a value ?

For exemple: recover the value of 'money' in the table 'players'.

Thank you !



EDIT: Can't I use this ?


Код:
pInfo[playerid][Admin] = cache_get_row_int(0, 4);
pInfo[playerid][VIP] = cache_get_row_int(0, 5); 
pInfo[playerid][Argent] = cache_get_row_int(0, 6);
pInfo[playerid][posX] = cache_get_row_float(0, 7);
pInfo[playerid][posY] = cache_get_row_float(0, 8);
pInfo[playerid][posZ] = cache_get_row_float(0, 9);
pInfo[playerid][Interieur] = cache_get_row_int(0, 10);
pInfo[playerid][World] = cache_get_row_int(0, 11);
pInfo[playerid][Skin] = cache_get_row_int(0, 12);
pInfo[playerid][Niveau] = cache_get_row_int(0, 13);
Reply


Messages In This Thread
Recover a value[mysql] - by anou1 - 13.01.2014, 17:24
Re: Recover a value[mysql] - by maddinat0r - 13.01.2014, 17:42
Re : Recover a value[mysql] - by anou1 - 13.01.2014, 17:56
Re: Recover a value[mysql] - by maddinat0r - 13.01.2014, 18:10
Re : Recover a value[mysql] - by anou1 - 13.01.2014, 18:40
Re: Recover a value[mysql] - by sammp - 13.01.2014, 22:24
Re: Recover a value[mysql] - by anou1 - 13.01.2014, 22:37
Re: Recover a value[mysql] - by anou1 - 14.01.2014, 09:46
Re: Recover a value[mysql] - by sammp - 14.01.2014, 18:10
Re : Recover a value[mysql] - by anou1 - 14.01.2014, 20:46

Forum Jump:


Users browsing this thread: 1 Guest(s)