Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel validation check value should be one of in array

'item' => [ Rule::in($my_arr) ],
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #validation #check #array
ADD COMMENT
Topic
Name
7+4 =