Commit 59ea27af authored by Nico Schallehn's avatar Nico Schallehn

test

parent 30562446
...@@ -183,8 +183,10 @@ class Media { ...@@ -183,8 +183,10 @@ class Media {
//$array["Genre"] = $imdb->getGenre(); //$array["Genre"] = $imdb->getGenre();
//$array["Schauspieler"] = $imdb->getCastAsOwn(0, false); //$array["Schauspieler"] = $imdb->getCastAsOwn(0, false);
$fsk = $imdb->getCertification(); $fsk = $imdb->getCertification();
var_dump($fsk); //var_dump($fsk);
if(!(strpos( $fsk,"West Germany") == false)){ if(!(strpos( $fsk,"West Germany") == false)){
$fsk = trim(substr($fsk,strpos( $fsk,"West Germany")+13,3));
}else if(!(strpos( $fsk,"Germany") == false)){
$fsk = trim(substr($fsk,strpos( $fsk,"Germany")+8,3)); $fsk = trim(substr($fsk,strpos( $fsk,"Germany")+8,3));
}else{ }else{
break; break;
......
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