Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel unique validation on multiple columns

'mobile_no' 
  => 'unique:users,mobile_no,NULL,id,country_id,'.request('country_id');
 
PREVIOUS NEXT
Tagged: #laravel #unique #validation #multiple #columns
ADD COMMENT
Topic
Name
4+7 =