Rat32 Posted June 26, 2015 Posted June 26, 2015 Hello. I have a problem with this error? CODE: function logujemy(yonsz, usernamel, passwordl) yonsz = exports.DB2:pobierzWyniki("SELECT * FROM ACCS WHERE acc=? AND password=?", usernamel, passwordl) if yonsz.acc and yonsz.password then outputChatBox("LOG!") else outputChatBox("UNLOG") end end addEventHandler("doLogin", getRootElement(), logujemy) What's the problem?
Tomas Posted June 26, 2015 Posted June 26, 2015 exports.DB2:pobierzWyniki("SELECT * FROM ACCS WHERE acc=? AND password=?", usernamel, passwordl) This is returning nil.
Tomas Posted June 26, 2015 Posted June 26, 2015 I know, but why? Well, we haven't access to the resource, how could we know it?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now