Commit 74e27d3b authored by Nico Schallehn's avatar Nico Schallehn

test

parent e628ffa5
......@@ -71,10 +71,10 @@ class MediaDBViewerAPI{
if(isset($GET_arr['GenreID']) ){
$Query = 'SELECT group_concat(fg.imdbID) AS imdbIDs FROM FilmGenre AS fg JOIN Genre AS g ON fg.genreID = g.genreID WHERE g.genreID IN ('.$GET_arr['GenreID'].') ';
echo $Query;
$Genre = $this->DB_Objekt->query($Query);
if($this->DB_Objekt->error != ""){ return $this->error(1005, $this->DB_Objekt->error);}
$GenreArr = $Genre->fetch_array();
echo $GenreArr["imdbIDs"];
//$Genre = $this->DB_Objekt->query($Query);
//if($this->DB_Objekt->error != ""){ return $this->error(1005, $this->DB_Objekt->error);}
//$GenreArr = $Genre->fetch_array();
//echo $GenreArr["imdbIDs"];
//$Where .= ($first?"":" AND ").'3d '.($GET_arr['3d']?"!=":"=").'""';
$first = false;
......@@ -105,7 +105,7 @@ class MediaDBViewerAPI{
.$this->iset($GET_arr['Order'], " ", " ORDER BY ", " ")
.$this->iset($GET_arr['Limit'],"", " Limit "," ")
.";";
//echo $Query;
echo $Query;
$entrys = $this->DB_Objekt->query($Query);
......
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