vendredi 31 mars 2017

Correct way of implementing form select in Laravel 5.1?

Why is that (+) sign generates an error "Unsupported operand types" Anyone could tell me why?If so,What is the correct way?

    <div class="form-group">

        {!! Form::select('category', 
            (['0' => 'Select Province'] + $location), 
                null, 
                ['class' => 'form-control']) !!}
    </div>



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2oimcti
via IFTTT

Aucun commentaire:

Enregistrer un commentaire