I have this function:
function filter($array, $like, $kol) {
$filtered = array_filter($array, function ($item) use ($kol, $like) {
return stripos($item[$kol], $like) !== false;
});
return array_values($filtered);
}
How can I modify this to only return exact values as $like? Now it searches for "like $like".