Commit 3c4ebc4e authored by Nico Schallehn's avatar Nico Schallehn

tet

parent a0c58465
......@@ -315,6 +315,7 @@ class Media {
}
private function getSchauspielerID($mysqli, $SchauspielerName, $SchauspielerID){
$result = $mysqli->query("SELECT schauspielerID FROM Schauspieler WHERE name = '".$SchauspielerName."'");
echo "SELECT schauspielerID FROM Schauspieler WHERE name = '".$SchauspielerName."'";
if($mysqli->error != ""){ echo "Mysql-Fehler: ".$mysqli->error.PHP_EOL; return false;}
if($result->num_rows > 0){
$resultArr = $result->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