Password check from the database, what am I doing wrong ???

Posted by user271753 on Stack Overflow See other posts from Stack Overflow or by user271753
Published on 2010-04-13T13:31:41Z Indexed on 2010/04/13 13:32 UTC
Read the original article Hit count: 257

-(IBAction)EnterButtonPressed:(id)sender { const char *sql = "SELECT AccessCode FROM UserAccess"; double result = ([Password.text doubleValue]); if(sql == result ) { NSLog(@"Correct"); } else { NSLog(@"Wrong"); } }

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about sqlite3