sqlite error
#1

Those are errors:

PHP код:
[01:57:42] [Warningdb_queryQuery failedno such columnIlija_Popivanov
[01:57:42] [Errordb_num_rows(): invalid result handle 0
[01:57:42] [Errordb_free_result(): invalid result handle 0 
And this is the code:

PHP код:
        new vid ZemiVoziloID(vehicleid)
        new 
string[100]
        
format(stringsizeof(string), "SELECT * FROM `Klucevi` WHERE `VID` = %d AND `Ime`= %q"vidImeNaIgrac(playerid))
        new 
DBResult:rezultat
        rezultat 
db_query(konekcijastring)
        new 
kk db_num_rows(rezultat)
        
db_free_result(rezultat
Is it cuz it cant find column with those conditions
Reply
#2

nvm it was bcuz of f*cking ' '
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)