MySQL 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: MySQL Help (
/showthread.php?tid=577312)
MySQL Help -
Slawiii - 10.06.2015
Hello i m using MySQL R5
and this function for R38
PHP код:
cache_get_data( )
what function need to remplace it
Re: MySQL Help -
J0sh... - 10.06.2015
I don't understand what you're saying.
You want to switch back to R5? If so why the hell would you do that?
Re : MySQL Help -
Slawiii - 10.06.2015
yes i want switch it to r5
Re: MySQL Help -
J0sh... - 10.06.2015
Why? R38 Is faster than R5.
Re: MySQL Help -
Prokill911 - 10.06.2015
Example:
Код:
new id_string[128];
new rows,fields;
cache_get_data(rows,fields);
cache_get_row(0, 0, id_string);
Код:
Name | Sex | Location
Bob | Male | UK
Sarah | Female | USA
Sophia | Female | Italy
This would return the information in row 0 column 0
settings the value or string to id_string;
id_String would get
Name: Bob
Re : MySQL Help -
Slawiii - 10.06.2015
@Jamester becauze my script worked with MySQL R5 and i m not a good scripter to realese it to R38