Commit c565f606 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 4e66559c
...@@ -395,7 +395,7 @@ class Media { ...@@ -395,7 +395,7 @@ class Media {
foreach ($SchauspielerRole as $value) { foreach ($SchauspielerRole as $value) {
$value = explode("as", $value); $value = explode("as", $value);
$value[1] = str_replace("(uncredited)", "", $value[1]); $value[1] = str_replace("(uncredited)", "", $value[1]);
//$value[1] = str_replace("(", "", $value[1]); $value[1] = str_replace("(", "", $value[1]);
$SchauspielerRollen[trim($value[0])] = trim($value[1]); $SchauspielerRollen[trim($value[0])] = trim($value[1]);
} }
...@@ -406,15 +406,15 @@ class Media { ...@@ -406,15 +406,15 @@ class Media {
} }
var_dump($Schauspieler); //var_dump($Schauspieler);
var_dump($SchauspielerRollen); //var_dump($SchauspielerRollen);
//$array["Schauspieler"] //$array["Schauspieler"]
exit; //exit;
$array["fsk"] = $this->gibFSK ($imdb,$array["imdbID"]); $array["fsk"] = $this->gibFSK ($imdb,$array["imdbID"]);
if ($array["fsk"] == false){ if ($array["fsk"] == false){
unset($array["fsk"]); unset($array["fsk"]);
...@@ -633,10 +633,10 @@ class Media { ...@@ -633,10 +633,10 @@ class Media {
$SQL = "SELECT * FROM FilmSchauspieler WHERE imdbID = ".$DataArr['imdbID']; $SQL = "SELECT * FROM FilmSchauspieler WHERE imdbID = ".$DataArr['imdbID'];
$entrys = $mysqli->query($SQL); $entrys = $mysqli->query($SQL);
while($entry = $entrys->fetch_array()){ //while($entry = $entrys->fetch_array()){
} //}
......
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