50 public function add() {
51 $filmsModel = new Film();
52 include_once('./views/films/add.php');
53
54 if (isset($_POST['film_name'])) {
55 $film_name = htmlentities($_POST['film_name']);
56 $film_producer_id = $_POST['film_producer_id'];
57 $film_production_year = htmlentities($_POST['film_production_year']);