Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel eloquent search query 2020

$result = Marriage::where('name','LIKE','%'.$email_or_name.'%')
                ->orWhere('email','LIKE','%'.$email_or_name.'%')
                ->get();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #eloquent #search #query
ADD COMMENT
Topic
Name
3+3 =