Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function update($id)
- {
- print_r($_POST);
- $info = $this->input->post('info');
- $tanggal = $this->input->post('tanggal');
- $status = $this->input->post('status');
- $data = array(
- 'info' => $info,
- 'tanggal' => $tanggal,
- 'status' => $status
- );
- $where = array(
- 'info' => $info
- );
- $this->Admin_model->updateData($where,$data,'tb_informasi');
- //redirect('admin/pengumuman');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement