help with mysql.
#3

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
What do you exactly mean?
i mean, if i'll try to get money from mysql
like that exmple:
format(str,sizeof(str),"SELECT * FROM accounts WHERE username='%s'",pInfo[playerid][pName]);
mysql_function_query(db,str,false,"","");
new money = cache_get_field_content_int(0,"Money",db);

it wont get the field that i want... it will return 0..
why? what im doing worng

(sorry for my bad english :X, please try to understand me)
Reply


Messages In This Thread
help with mysql. - by Equality - 27.06.2014, 17:56
Re: help with mysql. - by Faisal_khan - 27.06.2014, 18:28
Re: help with mysql. - by Equality - 27.06.2014, 18:32
Re: help with mysql. - by Faisal_khan - 27.06.2014, 18:51
Re: help with mysql. - by Equality - 27.06.2014, 18:56
Re: help with mysql. - by Konstantinos - 27.06.2014, 19:03
Re: help with mysql. - by Faisal_khan - 27.06.2014, 19:04
Re: help with mysql. - by Equality - 27.06.2014, 19:06
Re: help with mysql. - by Faisal_khan - 27.06.2014, 19:18
Re: help with mysql. - by Equality - 27.06.2014, 19:27

Forum Jump:


Users browsing this thread: 2 Guest(s)