Commit af24a5c8 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 2e785f8f
......@@ -58,11 +58,13 @@ class MediaDBViewerAPI{
$Where = "WHERE ";
// = Filter:
foreach ($IstgleichArr as $key => $value) {
echo $key.">".$value.PHP_EOL;
echo $key.">".$value;
if(isset($GET_arr[$key]) AND is_numeric($GET_arr[$key])){
echo "> isset!!";
$Where .= ($first?"":" AND ").$value.' = "'.$GET_arr[$key].'"';
$first = false;
}
echo PHP_EOL;
}
if(isset($GET_arr['3d']) ){
$Where .= ($first?"":" AND ").'3d '.($GET_arr['3d']?"!=":"=").'""';
......
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