Mysql help needed ! fast :(
#4

With mysql_function_query, you can use the callback parameter. It means, the callback YOU HAVE SPECIFIED will be called as the query will be executed! So you can do awesome things with it.
pawn Код:
mysql_function_query("SELECT ... FROM ...", true, "OnQueryFinished", "s", "Some string parameter");
pawn Код:
forward OnQueryFinished(somestring[]);
public OnQueryFinished(somestring[])
{
    printf("Data: %s", somestring);
return 1;
}
This should print "Some string parameter".
Reply


Messages In This Thread
Mysql help needed ! fast :( - by Hade. - 06.03.2013, 09:32
Re: Mysql help needed ! fast :( - by shady001 - 06.03.2013, 09:34
Re: Mysql help needed ! fast :( - by Hade. - 06.03.2013, 09:56
Re: Mysql help needed ! fast :( - by RajatPawar - 06.03.2013, 10:03
Re: Mysql help needed ! fast :( - by Hade. - 06.03.2013, 10:05
Re: Mysql help needed ! fast :( - by RajatPawar - 06.03.2013, 10:07

Forum Jump:


Users browsing this thread: 1 Guest(s)