FilmData($_GET["film"]); $tittle = $film->getTittle(); $cinemas = $filmDAO->getCinemas($_GET["film"]); $cinemasNames = array(); foreach($cinemas as $key=>$value){ $cinemasNames[$key] = $value->getName(); } foreach($cinemasNames as $value){ $cinemasListHTML = ''; } } //Reply: Depends on whether the purchase is to be made from a selected movie or a cinema. $reply = '
Duración: '.$film->getDuration().'
Idioma: '.$film->getLanguage().'