it’s as simple as this: Just post the following code to a view.

@if ($errors->any())
<div class=”alert alert-danger”>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif

02/03/2018

show backend validation errors

it’s as simple as this: Just post the following code to a view. @if ($errors->any()) <div class=”alert alert-danger”> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> […]
02/03/2018

Form validaton Laravel V5.5

open up the CLI or command line, and add this command to it php artisan make:request StoreBlogPost Notice: give it a name that is not that […]
15/02/2018

Create Symbolic link between storage and public folder in Laravel

ln -s /home/vagrant/Code/Project/project-app/storage/app/public /home/vagrant/Code/Project/project-app/public/storage ln -s D:/xampp/htdocs/personaliteti.com/storage/app/public D:/xampp/htdocs/personaliteti.com/public/storage ln -s /home/lagjjail/personalitetet/storage/app/public /home/lagjjail/public_html/public/storage or try php artisan storage:link Echo it like this: echo asset('storage/file.png');
15/01/2018

Call Dynamic css and javascript in app.blade.php and co.

to call a dynamic asset in laravel you simply add the asset or resource like this: refering to the css directory or folder and calling for […]
10/01/2018
checkbox from database laravel

Get checkbox options from database in laravel

The view: The database: the Controller: