Change output of a field with PHP field?
it looks like you have the logic a little backwards:

Value Code:

if($row-&gt;field_fruit == 'lemon') return 'citrus';

Output Code:

&lt;?php print $value; ?&gt;