diff --git a/common_fns.php b/common_fns.php new file mode 100755 index 0000000..a255651 --- /dev/null +++ b/common_fns.php @@ -0,0 +1,27 @@ + $val){ + if(is_array($val)){ + // if menu + $ret .= '
Debug dump: $desc "; + print_r($obj); + echo ''; +} + +function ifsetor(&$check, $alternate = NULL){ + return (isset($check)) ? $check : $alternate; +}