Commit d6ddfc58 authored by Nico Schallehn's avatar Nico Schallehn

+debug

parent fde385fb
......@@ -120,8 +120,8 @@ class MediaDBViewerAPI{
//array_push($tempArray, array("Genre" => array("test", "test2")));
$Query = 'SELECT * FROM FilmGenre AS fg JOIN Genre AS g ON fg.genreID = g.genreID GROUP BY g.genreID WHERE fg.imdbID="'.$tempArray["imdbID"].'"';
echo $Query;
$Gerne = $this->DB_Objekt->query($Query);
$Genre = $this->DB_Objekt->query($Query);
var_dump($Genre);
$tempArray["Genre"] = array("test", "test2");
}
......@@ -153,6 +153,9 @@ class MediaDBViewerAPI{
*/
private function iset($Check, $default = "",$Insertbefor = "",$Insertafter = ""){
return ((!isset($Check)OR($Check==""))?$default:$Insertbefor.$Check.$Insertafter);
}
private function QuerytoArray($Query){
}
/*
* FUnktion nur ändern, Um Markus zu ärgern ;-)
......
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