Update film_dao.php
This commit is contained in:
parent
e5b5f411be
commit
2fef99d5d5
@ -39,6 +39,8 @@
|
|||||||
while($fila=mysqli_fetch_array($resul)){
|
while($fila=mysqli_fetch_array($resul)){
|
||||||
$films[] = $this->loadFilm($fila["id"], $fila["tittle"], $fila["duration"], $fila["language"], $fila["description"]);
|
$films[] = $this->loadFilm($fila["id"], $fila["tittle"], $fila["duration"], $fila["language"], $fila["description"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$resul->free();
|
||||||
|
|
||||||
return $resul;
|
return $resul;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user