Answers for "laravel validation 'in '"

PHP
1

validation error message in laravel

@if ($errors->any())
    <div class="alert alert-danger">
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif
Posted by: Guest on August-04-2021
0

laravel validation

Rule::unique('users')->ignore($user->id, 'user_id')
Posted by: Guest on December-25-2020

Browse Popular Code Answers by Language