                    <div class="col-sm-2">
                        <?php if($id!="0")
                        {
                         foreach($departement as $m):
                            echo '<input type="text" id="kode" name="kode" value="'.$m["kode"].'">';
                         endforeach;
                        }
                        else{
                            echo '<input type="text" id="kode" name="kode" >';
                        }