I have a string which is concatenated together that needs to be comma separated. I also want to add the work "and" just before the last item.
?php
$general = get_field('general');
$language_inclusions = $general['language_inclusions'];
foreach ($language_inclusions as $language) {
echo $language['language'];
} ?>
This is my output
EnglishPortugueseChinese
expected result should be English, Portuguese **and** Chinese