SQL HELP - 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: SQL HELP (
/showthread.php?tid=619926)
SQL HELP -
Pearson - 23.10.2016
Hello.
PHP код:
mysql_fetch_field_row
Its MYSQL R33 CODE , Whats alternative code for R38?
Re: SQL HELP -
Pearson - 23.10.2016
PHP код:
BaseGet(fields[],perms[])
{
new fetch[128];
mysql_fetch_field_row (fetch,fields);
strmid(perms, fetch, 0, strlen(fetch), 255);
}
Can someone give me this code for r39 version?
Re: SQL HELP -
Pearson - 23.10.2016
UP UP
Re: SQL HELP -
Pearson - 23.10.2016
BUMP
Re: SQL HELP -
Pearson - 24.10.2016
BUUUUUUUUUUUUUUUUUUUMP
Re: SQL HELP -
Konstantinos - 24.10.2016
mysql_fetch_field_row is for version R5/R6/R6-2 and the equivalent of it in R33 to R39-6 is
cache_get_field_content.
Re: SQL HELP -
Pearson - 24.10.2016
Can you give me this script for R38?
Re: SQL HELP -
Konstantinos - 24.10.2016
https://raw.githubusercontent.com/pB...stem-cache.pwn
Re: SQL HELP -
Pearson - 24.10.2016
PHP код:
BaseGet(fields[],perms[])
{
new fetch[128];
cache_get_field_content_int(fetch,fields);
strmid(perms, fetch, 0, strlen(fetch), 255);
}
I edited code but i have error :
PHP код:
ARGUMENT TYPE MISMATCH
Re: SQL HELP -
Konstantinos - 24.10.2016
That's why I linked it to the wiki (by clicking on the function (with blue color)) so you can see its parameters and description. It's not just changing the name of the function, changes have to be made. For more information, look:
https://sampwiki.blast.hk/wiki/MySQL/R33