Hi, I have a simple query here, one of my database fields is boolean, 1 or 0, when I echo out the value I want it to be yes or no,
I did this, but it doesnt work,
$value = .$row[booleanresult];
if ($value ="1"){
$value = "YES"
} else
{
$value = "NO"
}
can someone help please?