Advertisement
Slyke

Titanium database

Oct 14th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dbConn.execute('INSERT INTO users (userName, userPassword) VALUES("' + theUsername + '", "' + md5Password + '");');
  2. alert("works")
  3. dbConn.execute('UPDATE users SET (`userPassword`="?") WHERE userName="?";', md5Password, theUsername);
  4. alert("Does not work");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement