Commit e108e395 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 2fd04502
......@@ -403,7 +403,7 @@ class Media {
foreach ($Schauspieler as $value) {
$value = explode(">", $value);
//$Schauspieler[trim($value[0])] = array(trim($value[1]),trim(array_search(trim($value[1]), $SchauspielerRollen)));
$array["Schauspieler"][trim($value[0])] = array(trim($value[1]),trim($SchauspielerRollen[trim($value[1])]));
$array["Schauspieler"][trim($value[0])] = array(trim($value[1]),trim($SchauspielerRollen[trim($value[1])]));// TODO isset hinzufügen (wegen notice meldung)
}
......@@ -635,6 +635,7 @@ class Media {
$entrys = $mysqli->query($SQL);
while($entry = $entrys->fetch_array()){
var_dump($entry);
$newSchauspieler = array_search($entry["schauspielerID"], $DataArr["Schauspieler"]);
echo "Vergleiche:".$entry["role"]." mit ".$newSchauspieler[1].PHP_EOL;
if(!($entry["role"] == $newSchauspieler[1])){
......
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