sqlite error
#1

Those are errors:

PHP код:
[01:57:42] [Warning] db_query: Query failed: no such column: Ilija_Popivanov
[01:57:42] [Error] db_num_rows(): invalid result handle 0
[01:57:42] [Error] db_free_result(): invalid result handle 0 
And this is the code:

PHP код:
        new vid = ZemiVoziloID(vehicleid)
        new 
string[100]
        
format(string, sizeof(string), "SELECT * FROM `Klucevi` WHERE `VID` = %d AND `Ime`= %q", vid, ImeNaIgrac(playerid))
        new 
DBResult:rezultat
        rezultat 
= db_query(konekcija, string)
        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)