DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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');
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#laravel
#unique
#validation
#multiple
#columns
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit