diff --git a/html/admin/test_me.php b/html/admin/test_me.php new file mode 100644 index 000000000..4066ca15e --- /dev/null +++ b/html/admin/test_me.php @@ -0,0 +1,15 @@ +check sql_filter_per"; +$a=sql_filter_per(1,1); +$ra=($a==" jr_tech_per = 1 ")?'OK':'ERROR'; +echo $a." ".$ra."
"; +$b= FormatString(sql_filter_per('3','7')); +$exp=FormatString('jr_tech_per in (select p_id from parm_periode where p_start >= 3 and p_end <= 7)'); +$rb=(strcmp($b,$exp)==0)?'OK':'ERROR'; + +echo "Received $b
Expected $exp $rb
"; + +?>