public function alterar() { $bd = new BD(); $bd->alterar("update pessoa set nome = '" . $this->getNome() . "', email = '" . $this->getEmail() . "', senha = '" . $this->getSenha() . "' where id_pessoa = '" . $this->getId_pessoa() . "' "); }
public function deletarProfessor() { $bd = new BD(); $bd->alterar("update pessoa set dia_deletado = now() where id_pessoa = '" . $this->getId_pessoa() . "' "); }
public function enviarSolic() { $bd = new BD(); $bd->alterar("update solicitacao set dia_aprovacao = now() where id_solicitacao = '" . $this->getId_solicitacao() . "' "); }