SA-MP Forums Archive
mysql_store_result() and mysql_num_rows not working - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql_store_result() and mysql_num_rows not working (/showthread.php?tid=625890)



how to get value from mysql database? - fastayko - 07.01.2017

how to get value from mysql database?
like player level


Re: mysql_store_result() and mysql_num_rows not working - Yaa - 07.01.2017

rip code

pls fix ur english and use for post codes


Re: mysql_store_result() and mysql_num_rows not working - Jelly23 - 07.01.2017

Quote:
Originally Posted by Yaa
Посмотреть сообщение
fix ur english and use for post codes
Speaking of which, just look at yours.


Re: mysql_store_result() and mysql_num_rows not working - fastayko - 07.01.2017

Better?


Re: mysql_store_result() and mysql_num_rows not working - GoldenLion - 07.01.2017

I told you like 3 times to check the wiki. https://sampwiki.blast.hk/wiki/MySQL/R40#Cache_functions
Have a look at cache_get... functions. I assume
Код:
cache_get_value_name
cache_get_value_name_int
cache_get_value_name_float
are the functions you are looking for.


Re: mysql_store_result() and mysql_num_rows not working - fastayko - 07.01.2017

Oh lol i found every thing that i need there Thx ( i can't +rep ) hhhh