Ok, to setup the variable you must ensure that a user clicks on the link. In the link you should add a URL parameter, you can call it login and set it 1 for the regular user and 2 for the designers. It would look like this:
<a href="login.php?login=1>Customer Login</a>
Then on the top of the login page you can set a session variable based on the value of this URL parameter. You can call it the same, you should also assume a default of customer in case the user goes directly to this login page. That code would look like this:
if(!session_id()) session_start();
if(isset($_GET['login']) && $_GET['login'] == 2){
$_SESSION['login'] = 2;
}else{
$_SESSION['login'] = 1;
}
If you have both forms on this page you can show one or the other like this:
if($_SESSION['login'] == 1){ //if the user is a customer then display the customer login
//customer login form goes here
}else if($_SESSION['login'] == 2){ // if they are a designer then display that login
//designer login form goes here
}
You can use this same logic for other pages that you would like to display one thing versus another. One other thing to check will be the names of your submit buttons for these forms and the triggers for the login. You will need to ensure that you have unique names and that the server behaviors are only triggered on the submission of the correct form.