Sending Mail Using IF and ELSEIF

Status
Not open for further replies.
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...?
 
Posting the same question twice does not increase its chances of getting answered.

Locked.
 
Status
Not open for further replies.
Back
Top