Want to set $error variable in laravel so that i will display errors in blade
as i can see in my blade like
@if ($errors->has('email'))
<span class="invalid-feedback">
<strong></strong>
</span>
@endif
i want to set errors so that $error variable will contain error message i know in this case its getting error from default
suppose want to show custom error message to the $error variable how to do that and i have not passed that variable to the blade still it has access can u please tell me short working of that sorry but i am new to laravel
from Laravel Questions and Answers https://laravelquestions.com/laravel/want-to-set-error-variable-in-laravel-so-that-i-will-display-errors-in-blade/
via Lzo Media
No comments:
Post a Comment