jeudi 29 décembre 2016

how to display selected all values in drop down in laravel 5.1

Hi friend's help how to display selected all values for edit page in laravel this is my code

 <?php $explode_values =  explode(",",@$checkpointvalues[$checkpoint['id']]['description']); ?>

                                {!! Form::select($checkpoint['id'].'_c[]', isset($error_messages[$checkpoint['id']])?$error_messages[$checkpoint['id']] : array(), $explode_values, array('multiple'=>'true', 'class'=>'form-control js-example-tags select2','id'=>$checkpoint['id'].'_c')) !!}

all values stored to database but only display particular values only so help me



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire