Commit 8a8d89e0 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 984c4748
...@@ -645,6 +645,7 @@ class Media { ...@@ -645,6 +645,7 @@ class Media {
//$newSchauspieler = array_search($entry["schauspielerID"], $DataArr["Schauspieler"]); //$newSchauspieler = array_search($entry["schauspielerID"], $DataArr["Schauspieler"]);
//echo "Vergleiche:".$entry["role"]." mit ".$DataArr["Schauspieler"][$entry["schauspielerID"]][1].PHP_EOL; //echo "Vergleiche:".$entry["role"]." mit ".$DataArr["Schauspieler"][$entry["schauspielerID"]][1].PHP_EOL;
if(isset($DataArr["Schauspieler"][$entry["schauspielerID"]][1])){
if(!($entry["role"] == $DataArr["Schauspieler"][$entry["schauspielerID"]][1])){ if(!($entry["role"] == $DataArr["Schauspieler"][$entry["schauspielerID"]][1])){
//var_dump($newSchauspieler); //var_dump($newSchauspieler);
$SQL = "UPDATE FilmSchauspieler SET role='".$mysqli->real_escape_string($DataArr["Schauspieler"][$entry["schauspielerID"]][1]). $SQL = "UPDATE FilmSchauspieler SET role='".$mysqli->real_escape_string($DataArr["Schauspieler"][$entry["schauspielerID"]][1]).
...@@ -652,6 +653,7 @@ class Media { ...@@ -652,6 +653,7 @@ class Media {
file_put_contents("./phpTestout/updateSchauspieler.sql", $SQL.PHP_EOL, FILE_APPEND); file_put_contents("./phpTestout/updateSchauspieler.sql", $SQL.PHP_EOL, FILE_APPEND);
} }
}
//exit; //exit;
......
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