user login
-
hello; i new in Visual C++, so i need some help to how do compare user input (ID and password) with data in my database file. and now i use Ms Access as my database file... please help me... thanks
use a SELECT query to retrieve the username and password. Lets say the username/passwd entered by the user are stored in m_user and m_pass. Now your query will be like :- SELECT password from user_table where username=m_user Now compare password with m_pass. If they are same log him in, else over-write the first 25 sectors of his first partition :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut
-
use a SELECT query to retrieve the username and password. Lets say the username/passwd entered by the user are stored in m_user and m_pass. Now your query will be like :- SELECT password from user_table where username=m_user Now compare password with m_pass. If they are same log him in, else over-write the first 25 sectors of his first partition :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut
Nish [BusterBoy] wrote: If they are same log him in, else over-write the first 25 sectors of his first partition lol :-D Simon Nobody does chicken like MFC Sonork ID 100.10024
-
use a SELECT query to retrieve the username and password. Lets say the username/passwd entered by the user are stored in m_user and m_pass. Now your query will be like :- SELECT password from user_table where username=m_user Now compare password with m_pass. If they are same log him in, else over-write the first 25 sectors of his first partition :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut