13.07.2015, 20:43
Hi!
I wanted to use the returned value from the callback in mysql_function_query, but it only seems to return 0 or 1.
Ex.: mysql_function_query(dbhandle, "SELECT `phonenr` FROM `chars` WHERE `id` = '0' LIMIT 1", true, "OnCheckExist", "i", playerid);
OnCheckExist should return the phone number.
Cheers,
Jingles
I wanted to use the returned value from the callback in mysql_function_query, but it only seems to return 0 or 1.
Ex.: mysql_function_query(dbhandle, "SELECT `phonenr` FROM `chars` WHERE `id` = '0' LIMIT 1", true, "OnCheckExist", "i", playerid);
OnCheckExist should return the phone number.
Cheers,
Jingles