When your displaying the result from the database you can write a simple function like this. function yesno($value) { if($value>0) { $return = 'Yes'; }else{ $return = 'No'; } return $return; } PHP: Then when you want to display the result write this, echo yesno($value_here); PHP: I presume that you are getting the information from a database, if you don't understand the code please post your code here and I'll show you how to implement it. Glen