I am trying to set up a user login database and page and have it work that when a user signs in, it authenticates their login details and if they are correct, have it redirect them to a page I've set up specifically for their account. There is no account creation page or anything, I will add users details directly into the database as it is for a client system where I can link in design work and final artwork files for clients into their own page that can be accessed once they're logged in.
I don't know exactly how to set this up. My previous system (which I am upgrading), would present clients to a page to select their client code from a drop-down list which redirected them to a login page specific to their account and the login details were hardcoded into the PHP page, no database for user credentials. I really want to upgrade this system and streamline it to only have one login page and credentials stored securely in a database.
Any tips/support are appreciated.