Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function calcular_duracion()
- {
- $sql = $this->db->prepare("SELECT TIMESTAMPDIFF(minute, inicio, fin) from reunion");
- $sql->execute(array());
- $resultado = $sql->fetchAll();
- foreach ($resultado as $row) {
- echo $row[];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement