Question about MySQL - 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 about MySQL (
/showthread.php?tid=584144)
Question about MySQL -
finelaq - 02.08.2015
Hello!
Im am new to MySQL and i want to know how to check something from database.
Example, if i want to make changename cmd and i want to check if this name is in database, then how to do it?
In new MySQL R33 i don't know.
Re: Question about MySQL -
xVIP3Rx - 02.08.2015
"SELECT * FROM `database_name` WHERE `name` = '%e'"
and depend on "cache_get_row_count", if it's more then 0 then somebody has that name.