'// Check if user exists in database
set rs = conn.execute("SELECT * FROM games_sm WHERE username = '"+username+"'")
if rs.BOF and rs.EOF then
conn.execute "INSERT INTO games_sm (username,clan,shots,pts) VALUES (`"+username+"`,`"+clan+"`,"+lcase(shots)+","+lcas e(pts)+")"
else
'conn.execute "UPDATE games_sm SET clan = `"+clan+"`, shots = "+lcase(shots)+", pts = "+lcase(pts)+" WHERE username = `"+username+"`"
end if
Sto usando questa query qui per controllare se un utente e' presente nel database solo che... il database utilizzando il driver ODBC mi da un errore che non vorrei, ovvero se non trova nessun utente con username indicato nella ricerca da errore dicendo Unknown Column 'username' in 'field list'