Update mysql table using try catch – Easyest method to update in Laravel 5.5

Hello guys, this article is for updating a MySQL table row using try catch and with the easiest method. So let’s start. I have my updating form like this – <form name=”password_update” method=”post” action=”{{url(‘update_password’)}}”> {{ csrf_field() }} <div class=”form-group”> @if(Session::has(‘pass_error’)) <label style=”color: red;”>{{Session::get(‘pass_error’)}}</label> @else <label>New Password</label> @endif <input required type=”text” placeholder=”Enter new password” class=”form-control” name=”new_password”> </div>…