alert("Successfully Logged in");'; $_SESSION['emp_id1'] = $res['emp_id']; $_SESSION['admin_name1'] = $res['name']; $_SESSION['designation1'] = $res['designation']; $_SESSION['reporting_to'] = $res['reporting_to']; header('Location: employee_track.php'); }else{ echo ''; // header('Location: index.php'); } ?>