I want to implode values in to a comma-separated string if they are an array:
I have the following array:
$my_array = [ \"keywords\" => \"test
Just create a new array and set the elements (-;
$value) $new_array[$key] = is_array($value) ? implode(",", $value) : $value;