i am very new to coding so i need help.i have built an application in netbeans that is connected to a database where i can store and retrieve customers details. what i am trying to do now is get a user put in a login and password before they can proceed. so in my database i have a table called LoginPassword which stores(as u can guess) user login and password. what i need help with is a bit of code that compares login and password that user put in with login and password in my database.where should i start?
Share
Make one table with name ‘users’. which contains ‘username’ and ‘password’
After click on Login Button fire a query to ‘users’ table to get the user record is there are not. if it is there with same ‘username’ and ‘password’ which was enterd in Login Screen then navigate to details screen else show failure message.