A
Anonymous
Guest
I dunno why but my IFELSE statements arn't working - they're broken...!
If I use:
if ($AreasOfInterest01 == $VacancyCategory)
{
Send e-mail
}
It works fine. But If I add:
elseif ($AreasOfInterest02 == $VacancyCategory)
{
Send e-mail
}
It doesn't work if the entry is in AreasofInterest02.
I can declare and echo these variables fine so I know the strings are there but the code simply refuses to execute - and no errors...!
Any ideas guys...?
If I use:
if ($AreasOfInterest01 == $VacancyCategory)
{
Send e-mail
}
It works fine. But If I add:
elseif ($AreasOfInterest02 == $VacancyCategory)
{
Send e-mail
}
It doesn't work if the entry is in AreasofInterest02.
I can declare and echo these variables fine so I know the strings are there but the code simply refuses to execute - and no errors...!
Any ideas guys...?