MySQL query.. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: MySQL query.. (
/showthread.php?tid=194188)
MySQL query.. -
Nonameman - 28.11.2010
Hey Guys!
If I need only 1 field's value from a mysql row (mysql_query("SELECT x FROM tablename WHERE y=0")) how can I get it into a simple variable without 'fetch' and 'explode'?
Re: MySQL query.. -
JaTochNietDan - 28.11.2010
I'm afraid there is no way, although all you would need is to use the fetch functions, you wouldn't need to use an explode function as there's nothing to split.