Need help with a User class
View Single Post
01-09-2009, 02:31 PM
Join Date: Nov 2007
you just need to pass in the username and password to the login then you do your query to check if its a valid login or not. the login function should return a true or false. The db class can be created like that, that is fine. You will have to store this class in a session variable to keep from reloading it every page as well.
iSearchNotes.com - Share College Student Notes
The Following User Says Thank You to CoryMathews For This Useful Post:
View Public Profile
Send a private message to CoryMathews
Visit CoryMathews's homepage!
Find More Posts by CoryMathews