SA-MP Forums Archive
MySQL Storing fields - 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 Storing fields (/showthread.php?tid=96396)



MySQL Storing fields - Daren_Jacobson - 07.09.2009

Okay so what exactly does mysql_store_result() do? i mean, i select the fields i want, and what happens when i do that, does it save it to variables name after those fields, i have searched and searched, and looked at php/mysql tutorials and not found it.

I just had an idea that if you SELECT a row (say row 2) then you mysql_store_result() and then mysql_fetch_row(line[]) it would grab the row seperate by a space and return it? or would it put it in line? but then how does know which line and ahhhhhhhhhh i edited this and now it makes no sense and i don't want to go back and fix it and ahhh my brain hurts.

i really don't know. i know how to do SQL (querys) i know how to do SQL with c# but with pawn or php, it makes no sense.

thanks in advance.