Commit ceb427c9 authored by Nico Schallehn's avatar Nico Schallehn

test

parent b98c4c99
...@@ -177,8 +177,8 @@ class MediaDBViewerAPI{ ...@@ -177,8 +177,8 @@ class MediaDBViewerAPI{
//echo $GET_arr['Spalten']; //echo $GET_arr['Spalten'];
$Query= "SELECT ".$this->iset($GET_arr['Spalten'], "*"). $Query= "SELECT ".$this->iset($GET_arr['Spalten'], "*").
" FROM Filme " " FROM Filme AS f "
.($UseJoin?" AS f JOIN FilmGenre fg ON f.imdbID=fg.imdbID JOIN Genre g ON g.GenreID=fg.GenreID ":"") .($UseJoin?" JOIN FilmGenre fg ON f.imdbID=fg.imdbID JOIN Genre g ON g.GenreID=fg.GenreID ":"")
.$Where .$Where
.$this->iset($GET_arr['Order'], " ", " ORDER BY ", " ") .$this->iset($GET_arr['Order'], " ", " ORDER BY ", " ")
.$this->iset($GET_arr['Limit'],"", " Limit "," ") .$this->iset($GET_arr['Limit'],"", " Limit "," ")
......
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