Loading MYSQL problem
#7

Quote:
Originally Posted by Skinnz
Посмотреть сообщение
Hello i have a problem loading mysql :
PHP код:
iJoueur[playerid][Argent] = cache_get_field_content_int(0"argent");
printf("%d $",iJoueur[playerid][Argent]); 
server log : 0 $
but :

you can help me ?

PS : Sorry for mi bad english, i am french.
PHP код:
new Cache:result;
result mysql_query(MySQL"SELECT * FROM `YOUR TABLE NAME`");
iJoueur[playerid][Argent] = cache_get_field_content_int(0"argent"); 
printf("%d $",iJoueur[playerid][Argent]);
cache_delete(result); 
Reply


Messages In This Thread
Loading MYSQL problem - by Skinnz - 03.08.2016, 18:22
Re: Loading MYSQL problem - by AndySedeyn - 03.08.2016, 18:59
Re: Loading MYSQL problem - by ActionTanki91 - 03.08.2016, 19:03
Re: Loading MYSQL problem - by Skinnz - 03.08.2016, 19:09
Re: Loading MYSQL problem - by Misiur - 03.08.2016, 19:24
Re: Loading MYSQL problem - by Skinnz - 03.08.2016, 19:25
Re: Loading MYSQL problem - by diego200052 - 03.08.2016, 19:42
Re: Loading MYSQL problem - by Skinnz - 03.08.2016, 19:48

Forum Jump:


Users browsing this thread: 1 Guest(s)