SA-MP Forums Archive
Get array value from 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: Get array value from mysql (/showthread.php?tid=656929)



Get array value from mysql - NoteND - 27.07.2018

Hey!

I just wanna ask how do u get array data from mysql.. basically.. I have a value on mysql database saved as LastName,
and basically when I try to use that under OnPlayerLoad... cache_get_value_name(0, "ClanName", pInfo[playerid][LastName]); it gives me bunch of errors..

EDIT: invalid subscript and many other errors


Re: Get array value from mysql - Kraeror - 27.07.2018

read it: https://sampwiki.blast.hk/wiki/MySQL/R40...get_value_name


Re: Get array value from mysql - augustogdo - 27.07.2018

Show the issues.