Codeigniter-How to get multiple value dropdown

I have problem..Nagatomo and the Hulk have the same kode pos, here I want to display Nagatomo and the Hulk according to the kode pos = 10710. But only Nagatomo appears in the dropdown menu.

My screenshoot: 1 & 2

My Controller :

    $data['header'] = "header/header";
    $data['navbar'] = "navbar/navbar";
    $data['sidebar'] = "sidebar/sidebar";
    $data['body'] = "body/delivery";

    $id_user = trim($this->session->userdata('id_user'));

    $data_delivery = $this->model_app->data_delivery();
    $data['data_delivery'] = $data_delivery;

    $this->load->view('template', $data);

My Model :

    $query = $this->db->query("SELECT A.*, B.driver_id, C.nama
                                FROM collecting A 
                                INNER JOIN driver_detail B ON A.receiver_pos LIKE concat(concat('%',B.kode_pos),'%')
                                INNER JOIN driver C ON C.driver_id = B.driver_id
                                GROUP BY collecting_id
                                ");
    return $query->result();

My View :

                            <table data-toggle="table" data-show-refresh="false" data-show-toggle="true" data-show-columns="true" data-search="true"  data-pagination="true" data-sort-name="name" data-sort-order="desc">
                            <thead>
                            <tr>
                                <th data-field="penerima" data-sortable="true">Penerima</th>
                                <th data-field="nama" data-sortable="true">Supir</th>
                                <th>Aksi</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php $no = 0; foreach($data_delivery as $row) : $no++;?>
                            <tr>
                                <td data-field="penerima"><?php echo $row->receiver_nm;?><hr><?php echo $row->receiver_addr;?>, <?php echo $row->receiver_kota;?>, <?php echo $row->receiver_pos;?><br><?php echo $row->receiver_telp;?></td>
                                <td data-field="nama">
                                    <select class="js-example-basic-single form-control" name="nama">
                                    <option value="<?php echo $row->nama; ?>"><?php echo $row->nama; ?></option></select>
                                </td>
                                <td> 
                                <a class="ubah btn btn-primary btn-xs" href="<?php echo base_url();?>delivery/edit/<?php echo $row->collecting_id;?>"><span class="glyphicon glyphicon-edit" ></span></a>
                                </td>
                            </tr>
                            <?php endforeach;?>
                            </tbody>

                            </table>

Note:

  • Nagatomo & Hulk from table driver
  • Kode pos from table collecting

Thank you