I have two PHP variables that can either be empty (i.e. `value=""`) or contain a name in the format Last, First with a comma and a space between the last and first name (e.g. Mouse, Mickey). 

I would like to make a simple check here and say if a variable is not empty AND is equal to another then check a checkbox but this doesnt work. 
Can someone here show me what I am doing wrong (in the below example the checkbox should be checked) ?

My problem is that the checkbox always gets checked, even if the variables don't match.

**Example:**

```
$poc1 = "Mouse, Mickey"; // hard-coded for testing
$poc2 = "Mouse, Mickey"; // hard-coded for testing

<input type="checkbox" id="check2" name="Copy_POC" <?php if(($poc2 != "") && (strcmp($poc2,$poc1))) { echo "checked"; } ?> />

```

Many thanks for any help with this, Tim.