hya i have 2 user goups in my website one for couples and one for singles what im wanting to know is when a couple registers how can i direct them to a couples directory ive tried the following but its not doing it can anyone help with this
if( $gender == 'female' ) {
//Redirect administrators to the dashboard
header("location: registration2.php");
} elseif ( $gender == 'males' ) {
//Redirect shop managers to the dashboard
header("location: registration2.php");;
} elseif ( $gender == 'couples' ) {
//Redirect editors to the dashboard
header("location: cregistration2.php");
} elseif ( $gender == 'tvtscd' ) {
//Redirect authors to the dashboard
header("location: registration2.php");
}