mysql check problem
#1

Hi guys, i have problem with check, here is my code:

PHP код:
    new rowsFields;
    new 
komanda[126], adminimeig[126], toggle;
    
mysql_format(MySQLQuerysizeof(Query), "SELECT * FROM `komande` WHERE `komanda` = `%s`"cmdtext);
    
mysql_query(MySQLQuery);
    
cache_get_data(rowsFields);
    if(
rows) {
         new 
tmp[130];
        
//cache_get_field_content(0, "ID", tmp);
        //id = strval(tmp);
        
cache_get_field_content(0"komanda"tmp);
        
format(komanda126"%s"tmp);
        
        
cache_get_field_content(0"admin"tmp);
        
admin strval(tmp);
        
        
cache_get_field_content(0"igrac"tmp);
        
format(imeig126"%s"tmp);
        
        
cache_get_field_content(0"toggle"tmp);
        
toggle strval(tmp);
    } 
and table look like this:

structure:

ERROR:
Reply


Messages In This Thread
mysql check problem - by Dusan01 - 17.10.2015, 16:45
Re: mysql check problem - by Dusan01 - 17.10.2015, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)