Little problem
#4

Because you're sending %e..
Try below code.
PHP код:
IPBanned(const str[]) {
    new 
query[85],Cache:result,rows;
    
mysql_format(mysqlquerysizeof(query), "SELECT `IP` FROM `ipbanned` WHERE `IP` = '%s' LIMIT 1",str);
    
result mysql_query(mysqlquery);
    if((
rows cache_num_rows())) {
        
rows cache_get_row_int(00);
        
cache_delete(result);
        return 
rows;
    }
    
cache_delete(result);
    return 
rows;

Reply


Messages In This Thread
Little problem - by Squirrel - 23.01.2016, 17:35
Re: Little problem - by K0P - 23.01.2016, 17:44
Re: Little problem - by Squirrel - 23.01.2016, 17:45
Re: Little problem - by Prokill911 - 23.01.2016, 19:27
Re: Little problem - by Squirrel - 23.01.2016, 19:27
Re: Little problem - by Prokill911 - 23.01.2016, 19:34
Re: Little problem - by Squirrel - 23.01.2016, 19:38
Re: Little problem - by Squirrel - 24.01.2016, 01:04
Re: Little problem - by CoaPsyFactor - 24.01.2016, 01:36
Re: Little problem - by BroZeus - 24.01.2016, 07:35

Forum Jump:


Users browsing this thread: 1 Guest(s)