I'm trying to update the "$searchValue"
below to include a wildcard before & after so if the string in "$searchValue"
is found anywhere in the $label
it will work. Any ideas on how to do that?
foreach($json as $key=>$value){
foreach($value as $item)
{
if($item->$label == "$searchValue")
{
echo $item->title.'<br>';
}
}
}
Thanks for your help!