PHP does not have a built in function for converting an integer to the textual representation, but if you only have a few values to deal with you can create your own.
add this function to any page you want to display the number as the text equivalent:
<?php
function numText($num) {
$retNum = "";
switch($num) {
case 1:
$retNum = "one";
break;
case 2:
$retNum = "two";
break;
}
return $retNum;
}
?>
the code to use the function would look like:
<?php echo(numText(isset($_SESSION['ch_statu'])?$_SESSION['ch_statu']:"")); ?>
My code above will only work for 1 and 2, you can add others if you need.