How to return mysql result?
#3

mysql_query("SELECT myid FROM players LIMIT 1");
mysql_store_result();

new myid = mysql_fetch_int();

mysql_free_result();


https://sampwiki.blast.hk/wiki/MySQL#mysql_fetch_int
Reply


Messages In This Thread
How to return mysql result? - by ajwar - 21.07.2011, 09:55
Re: How to return mysql result? - by Patrik356b - 21.07.2011, 09:59
Re: How to return mysql result? - by iJumbo - 21.07.2011, 10:00

Forum Jump:


Users browsing this thread: 1 Guest(s)