Commit 785adf69 authored by Nico Schallehn's avatar Nico Schallehn

test

parent ef45f2ea
......@@ -116,9 +116,11 @@ class MediaDBViewerAPI{
if(isset($GET_arr['Jahr'])){
if (((substr($GET_arr['Jahr'],0,1) == "<") OR (substr($GET_arr['Jahr'],0,1) == ">")) AND !strpos($GET_arr['Jahr'], ",")) {
// Kleiner oder Größer und kein Komma!
echo "Hier bin ich".PHP_EOL;
$Where .= ($first?"":" AND ").'year ="'.$GET_arr['Jahr'].'"';
}else if(strpos($GET_arr['Jahr'], ",")>0){
$jahrArr = explode(",", $GET_arr['Jahr']);
var_dump($jahrArr);
$Where .= ($first?"":" AND ").'year =<"'.$jahrArr[0].'"';
$Where .= ($first?"":" AND ").'year =<"'.$jahrArr[1].'"';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment