Posts: 1,189
Threads: 51
Joined: Jan 2012
Reputation:
0
Functions that are in R5 aren't the same one in R7, I don't know about MySQL but check the change logs of R7 and see the name or mysql_query or try to deep search. I hope this some kind-of helped you.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
It was replaced with mysql_function_query and non-threaded queries were removed from R7. There's a tutorial about how to use threaded queries and if you decided to use them, it's recommended to update to R39-2 and there's also an example script in the github page.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
It doesn't have the same parameters. Check the original thread of the mysql plugin (by BlueG) and see the parameters. The first parameter is the connection handle (the one mysql_connect returns), the query and the rest are cache (true in SELECT queries and false in INSERT/UPDATE) and a callback is needed if the cache is true (you select data). Well, check the tutorial by AndreT for more information.