10.12.2015, 23:32
How are u perfoming the queries and loading the results? I mean, you should have something like this:
PHP код:
mysql_function_query(handle,"SELECT nickname FROM users WHERE userid=10",true,"MyResponse","d",playerid);
PHP код:
// MyResponse
cache_get_data(rows,fields);
if(rows)
{
// the 0 means the first row found.
// found amount is the variable rows
// for more rows result you should use a loop from 0 to rows - 1
cache_get_field_content(0,"nickname",string,handle,64);
// string now has the value of field nickname from userid 10
}
else
{
// found nothing bla bla
}