On Jan 15, 6:05 am, MadWalker <maddalwal...@gmail.com> wrote: > i trying to do a application that do a check > the table database take in user and password
This is how T2 does it: if FORM.accepts(form,request.vars,session): rows=db(db.t2_person.email==form.vars.email)\ (db.t2_person.password==form.vars.password)\ (db.t2_person.registration_key=='').select() if rows: session.flash=self.messages.logged_in else: session.flash=self.messages.invalid_login F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---