Hi I'm having a problem with this PHP
the error i get is: Parse error: syntax error, unexpected T_ELSE in.....
Here is the code for the area concerned
else if ($carrier == "bellmobility") {
$formatted_number = $to."@txt.bellmobility.ca";
mail($formatted_number,$subject,$message,$headers);
}


else if ($carrier == "virgincanada") {
$formatted_number = $to."@vmobile.ca";
mail($formatted_number,$subject,$message,$headers);
}
else if ($carrier == "telus") {
$formatted_number = $to."@msg.telus.com";
mail($formatted_number,$subject,$message,$headers);
}
The problem is the
else if ($carrier == "virgincanada") {
line but obiviously it is something before it that is wrong..
the section before it is okay (bellmobility)
Any ideas why this is happening??
Thanks