if(is_numeric($parm) && $parm > 0 && $parm < 38) { return "$code_text"; } else { return $code_text; }