SA-MP Forums Archive
question - need help - 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: question - need help (/showthread.php?tid=293914)



question - need help - dvir174 - 30.10.2011

Someone can show me how to get value from table (mysql) by username of each one.

the sql - "SELECT `something` FROM `table` WHERE `username` = 'XXX'"

so how to get the value of this sentence into a variable


Re: question - need help - Ricop522 - 30.10.2011

use mysql_num_rows


Re: question - need help - dvir174 - 30.10.2011

Give me an example