} $compose = $movie->composer(); if (!empty($compose)) { $detalle_buscada = $detalle_buscada . '<B>Música:</B><br>'; for ($i = 0; $i < count($compose); $i++) { $id = $compose[$i]["imdb"]; $texto = $categorias[2]; $detalle_buscada = $detalle_buscada . "<input type='checkbox' id='" . $texto . "_" . $id . "' name='" . $texto . "es[]' value='" . $id . "'> "; $detalle_buscada = $detalle_buscada . $compose[$i]["name"] . " <a href='http://" . $search->imdbsite . "/name/nm" . $id . "'>imdb page</a>"; if ($compose[$i]["role"] != " ") { $detalle_buscada = $detalle_buscada . " - " . $compose[$i]["role"]; } $detalle_buscada = $detalle_buscada . "<br>\n"; } } $cinematography = $movie->cinematography(); if (!empty($cinematography)) { $detalle_buscada = $detalle_buscada . '<B>Fotografía:</B><br>'; for ($i = 0; $i < count($cinematography); $i++) { $id = $cinematography[$i]["imdb"]; $texto = $categorias[3]; $detalle_buscada = $detalle_buscada . "<input type='checkbox' id='" . $texto . "_" . $id . "' name='" . $texto . "es[]' value='" . $id . "'> "; $detalle_buscada = $detalle_buscada . $cinematography[$i]["name"] . " <a href='http://" . $search->imdbsite . "/name/nm" . $id . "'>imdb page</a>"; if ($cinematography[$i]["role"] != " ") { $detalle_buscada = $detalle_buscada . " - " . $cinematography[$i]["role"]; } $detalle_buscada = $detalle_buscada . "<br>\n"; } } $cast = $movie->cast(); if (!empty($cast)) {