allFilmData(); $titles = array(); $descriptions = array(); $times = array(); foreach($films as $key => $value){ $titles[$key] = $value->getTittle(); $descriptions[$key] = $value->getDescription(); $times[$key] = $value->getDuration(); } ?> print_head(); ?> print_header(); ?> print_main(); ?>
"; echo "
"; } else{ if($i != 0) echo "
"; echo "
"; } echo "
".$titles[$i]."

".$title."


".$descriptions[$i]."

Duración: ".$times[$i]." minutos

"; } echo "
\n"; ?>
print_footer(); ?>