Skip to content

Instantly share code, notes, and snippets.

@handhikadj
Created May 25, 2019 21:12
Show Gist options
  • Save handhikadj/524519dd74228182a5b3410d5b74c244 to your computer and use it in GitHub Desktop.
Save handhikadj/524519dd74228182a5b3410d5b74c244 to your computer and use it in GitHub Desktop.
public function ubahMenu()
{
$menu = $this->input->post('menu', true);
$this->db->set('menu', $menu);
$this->db->where('id', $this->input->post('id'));
$this->db->update('user_menu');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment