I have an if else statement that should work, but doesn't . I'm new to PhP, so i imagine i may be doing something wrong. I'm using homesite, and setting up an if statement to look at a variable named country, and depending on what country it is, the email address is assigned..
If ($country == "United States")
$MailTo = "name@place.com"
$MailSubject = "test";
else $Mailto = "name@place.com"
$MailSubject = "Not test";
I'm getting a parse error on this and i'm not sure where to proceed from here.. thanks in advance!