Tuesday, May 23, 2017

email validation not working in update form using laravel validation

$id = $request->id;
$validation = Validator::make($request->all(), [
   'email' => 'unique:customers,email,'.$request->id
]);



via suresh

Advertisement