fn_validate() fn_validate( $str, $min, $max, $type = 'str', $format = 'text', $safe_chk = true) Parameters $str $min $max $type $format $safe_chk