Mysql cache_get_value() mismatching arguments.
#3

This should work.

PHP код:
mysql_tquery(g_SQL"SELECT * FROM `usertest` WHERE `name` = 'Dave'""SeifSelectCallback");
forward SeifSelectCallback();
public 
SeifSelectCallback()
{
    new 
idname[25];
    if (
cache_num_rows())
    {
        
cache_get_value_name_int(0"id"id);
        
cache_get_value_name(0"name"namesizeof(name));
    }
    
printf("ID: %d, Name: %s"idname);
    return 
1;

Reply


Messages In This Thread
Mysql cache_get_value() mismatching arguments. - by Seifspeed - 15.07.2018, 15:34
Re: Mysql cache_get_value() mismatching arguments. - by Calisthenics - 15.07.2018, 15:41
Re: Mysql cache_get_value() mismatching arguments. - by Iguman - 15.07.2018, 15:42

Forum Jump:


Users browsing this thread: 5 Guest(s)