i need help with login mechanism, i have this application that i am trying to add a login form but i dont know how to authenticate the username and password..
i need to learn how to send the username and password to the database and when the user logs in it should retrieve the password from the database and authenticate if the username and password is correct.
and a code snipet that can help a new member create a new account in the app. ie for non members to create a new username and password, just like openin a new yahomail account.
i need a code snippet that can help me achieve both problems
help from anyone would be appreciated. jwenting,isreal and others pls.