SA-MP Forums Archive
MySQL -- Fetch Field Row Float. - 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 -- Fetch Field Row Float. (/showthread.php?tid=519245)



MySQL -- Fetch Field Row Float. - yoran765 - 13.06.2014

Hi!

SS's explain everything!





The "hX" float does not store inside a variable for some odd reason.
Yoran.


Re: MySQL -- Fetch Field Row Float. - Vince - 13.06.2014

If you're not even selecting that field, then how is it supposed to return any data? Also this isn't the proper way to retrieve multiple rows. Refer to your first screenshot. That is 1 query and 1 result set. Your current methods sends multiple queries and retrieves one row at a time. This is both inefficient and straining on the MySQL server.