Hi i have several user types i.e female, male couple etc and when they register each group goes to there own page for profile setup
but when they login they go to one standard profile page that came with script how would i redirect them to there own profile page that goes with there group that they sign up into
heres code to header them to profile setup page that ive already done which works
if($_POST['gender']=='Couple MF')
{
header('location:registration2MF.php');
}
else if($_POST['gender']=='Couple MM')
{
header('location:registration2MM.php');
}
else if($_POST['gender']=='Couple FF')
{
header('location:registration2FF.php');
}
else if($_POST['gender']=='Male')
{
header('location:registration2M.php');
}
else if($_POST['gender']=='Female')
{
header('location:registration2F.php');
}
else if($_POST['gender']=='TV/TS')
{
header('location:registration2TT.php');
}
exit;
many thanks in advance x