Created
November 29, 2019 16:56
-
-
Save jlamim/64125eb84b1983a957224d5b2e9ae435 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function salvar_atualizacao() { | |
$quarto = array( | |
'id_quarto' => $this->input->post('id_quarto'), | |
'ct_quarto' => $this->input->post('ct_quarto'), | |
'num_quarto' => $this->input->post('num_quarto'), | |
'jovem_quarto' => $this->input->post('jovem_quarto'), | |
'responsavel' => $this->input->post('responsavel'), | |
'localizacao' => $this->input->post('localizacao'), | |
'dataem' => $this->input->post('dataem') | |
); | |
$this->db->where('id_quarto', $quarto['id_quarto']); | |
$this->db->update('quartos', $quarto); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment