Login Script to match Username/Password in MySQL database table
I have connected to a MySQL database through API Express. The MySQL table contains user info (name, address, username, password, etc..).
When App user enters Username & Password in Login page on my App I would like to check the MySQL table records for a match. If there is a match, then user is directed to a page on the App. If no match, then login error message.
Is there a script to check for a match?
Thank you in advance.