Home > Software design >  Why modal bootstrap on table data doesn't showing / fetching match data when popup?
Why modal bootstrap on table data doesn't showing / fetching match data when popup?

Time:01-17

enter image description here

CodePudding user response:

The problem is i was used same foreach in select option . I was forgot if i 've been using first foreach to displaying table data and i used it again in form.

Don't using same foreach in form, delete or change this:

<select name="" >
   <option>-- CARI --</option>
     <?php foreach ($prosedur_rehab as $rehab):?>
      <option value="<?php echo $rehab->ID?>"><?php echo $rehab->ID?> || <?php echo $rehab->NORM?></option>
     <?php endforeach ?>
</select>
  • Related