mardi 15 décembre 2020

remove the duplicate entry for the value in laravel view file

I have the response from the data as $am_details and I want to get the unique geo value in sect box dropdown in view files I have tries as

<select name="geo" class="ui fluid dropdown" id="geo" multiple="" >
    @foreach($am_details as $summary)
        <option value=""></option>
    @endforeach
</select>

But displaying with duplicate geo value I want to remove the duplicate entry in laravel view selectbx option.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire