I'm trying to add an 'if and' statement, but can't get it working.

```
else if($iamonly == 'Other - ' && trim($othertype == '')) {
    echo '<div class="error_message">Error! You selected "Other"</div>';

```

If `$iamonly` field is 'Other' and I enter data in the `$othertype` field, I still get the error message. Please can someone tell me what the heck I'm doing wrong here.