processesForm(null, null, null, null, null, "show");
function drawFilms($films){
echo "
Id |
Título |
Duracion |
Idioma |
Descripcion |
";
foreach($films as $f){
echo '
'. $f->getId() .' |
'. $f->getTittle() .' |
'. $f->getDuration() .' |
'. $f->getLanguage() .' |
'. $f->getDescription().' |
|
|
';
}
echo'
';
}
function addFilm(){
echo'';
}
function showmessage() {
if(isset($_SESSION['message'])){
echo '
'.$_SESSION["message"].'
';
unset($_SESSION['message']);
}
}
showmessage();
drawFilms($film->getReply());
addFilm();
?>