session->userdata('role_id'); $queryMenu = "SELECT `menu_user`.`id`, `menu` FROM `menu_user` JOIN `akses_menu_user` ON `menu_user`.`id` = `akses_menu_user`.`id_menu` WHERE `akses_menu_user`.`role_id` = $role_id ORDER BY `akses_menu_user`.`id_menu` ASC"; $menu = $this->db->query($queryMenu)->result_array();?>