
March 19th, 2003, 12:35 PM
|
|
Junior Member
|
|
Join Date: Mar 2003
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Password and user name validation
Hi,
I think I have built a bit of code that searchs through the database for a row that matches both the user name and password, but i wish to know this:
How do I link this method to the submit button so that when pressed it searchs the database then allows the user to enter if the fields are valid?
The result from the search goes into a Resultset rs variable but what do I do with this and how can I tell it to go to the home page if there is a result?
Please help me,
Maytrix
|