Login Page

I'm trying to make a program in which employees log into. I am having trouble with the login page in that I need to validate the login making sure that the employee name and employee password come off the same row of the table.. Could someone please help me code this??!!


  • hi,
    if login is unique (should be) then just select passwd from database where login is the same like login passed by user and compare string from database with string passed by user.
    select count(*) from users_table_name where login like 'login' and passwd like 'passwd' - if query return 0 then login or passwd is failed.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion