Commit 42fc1543 authored by Nico Schallehn's avatar Nico Schallehn

ohne Debugausgabe

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