Commit 2fd04502 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 9e005fcb
...@@ -629,14 +629,14 @@ class Media { ...@@ -629,14 +629,14 @@ class Media {
} }
} }
} }
var_dump($DataArr["Schauspieler"]); //var_dump($DataArr["Schauspieler"]);
//TODO Update für Schauspieler role einbauen //TODO Update für Schauspieler role einbauen
$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()){
$newSchauspieler = array_search($entry["schauspielerID"], $DataArr["Schauspieler"]); $newSchauspieler = array_search($entry["schauspielerID"], $DataArr["Schauspieler"]);
echo "Vergleiche:".$entry["role"]." mit ".$newSchauspieler[1].PHP_EOL;
if(!($entry["role"] == $newSchauspieler[1])){ if(!($entry["role"] == $newSchauspieler[1])){
var_dump($newSchauspieler); var_dump($newSchauspieler);
} }
......
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