vendredi 1 mars 2019

What is good way to write error in laravel

I have this error for my Error listing

ErrorException syntax error, unexpected '$error' (T_VARIABLE), expecting ',' or ')' (View: /var/www/html/project/resources/views/projects/create.blade.php)

my code is

@foreach ($errors->all() as $error)

        <li></li>

        @endforeach

I don't see anything wrong help!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire