BlueG MySQL - returning values from mysql_function_query
#1

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)