I'm having trouble in showing the value of my selected value in select dropdown.

Code:
$stat = $data['ba_Status'];	


<select>
    <option value="January"<?php if (($stat == '0') || ($stat == 'R') || ($stat == 'D') || ($stat == 'S1') || ($stat == 'F1')) echo ' selected="selected"'; ?>>YES</option>
    <option value="December"<?php if ($stat == 'L') echo ' selected="selected"'; ?>>NO</option>
</select>
I tried else statement, but it an error occured.