MySQL R33+ (small help)
#8

Quote:
Originally Posted by HazardouS
Посмотреть сообщение
The "mysql connection" thing, which i called connectionHandle, is the value returned by the mysql_connect function (https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_connect). You need to connect to a database before running any query.

I'm not sure if what bgedition wrote there actually works, you'll have to test it. I have my doubts, because as far as I know, the cache functions will return the correct values only if they are somehow related to the "parent" query, so they must be used within a callback which is called by that query, as I wrote in my example (the QueryResultCallback thing).

Regarding other versions, I guess this should work on them too, because I see some R35, R36 references on the wiki page. Also, there is this paragraph at the top of the page:
Thanks buddy +rep
Reply


Messages In This Thread
MySQL R33+ (small help) - by Bondage - 13.01.2015, 16:09
Re: MySQL R33+ (small help) - by HazardouS - 13.01.2015, 16:24
Re: MySQL R33+ (small help) - by Bondage - 13.01.2015, 16:27
Re: MySQL R33+ (small help) - by Bondage - 13.01.2015, 18:40
Re: MySQL R33+ (small help) - by bgedition - 13.01.2015, 19:59
Re: MySQL R33+ (small help) - by Bondage - 13.01.2015, 21:18
Re: MySQL R33+ (small help) - by HazardouS - 13.01.2015, 21:51
Re: MySQL R33+ (small help) - by Bondage - 13.01.2015, 22:04

Forum Jump:


Users browsing this thread: 1 Guest(s)