I have a IF statement running in my After successful logon event which is working fine BUT I want to have more than 3 options, is it possible to runn multiple If else elseif statments in the event
I currently have
if($data['Score'] >= 200)
{
header("Location: page1.php");
}
else
{
header("Location: page2.php");
}
exit();
But I would like a 3rd page or even more like but I cant get it to work, Any help please would be appreciated
if($data['Score'] >= 200)
{
header("Location: page1.php");
}
elseif
{
header("Location: page2.php");
}
else
{
header("Location: page3.php");
}
exit();