I understand how to build a db-driven login form but I am trying to figure out how to make the login form take you to a page that corresponds to the username you enter. (i.e. Client1 logs in and is redirected to page A. Client2 logs in and is directed to page B).
Do I use If statements and format my table with the usernames and passwords with the desired URLs too?
If($username&&$password) {
echo $URL;
}
I appreciate any help I can get with this.