Answers for "how can we check in the table in comma separated values in laravel"

PHP
0

how can we check in the table in comma separated values in laravel

$search = 1;
$data = \DB::table("myposts")
    ->select("myposts.*")
    ->whereRaw("find_in_set('".$search."',myposts.tags)")
    ->get();
Posted by: Guest on December-17-2020

Code answers related to "how can we check in the table in comma separated values in laravel"

Browse Popular Code Answers by Language