I have multiple checkboxes, lets say;
<input type="checkbox" value='One' />
<input type="checkbox" value='Two' />
<input type="checkbox" value='Three' />
My php looks like;
echo implode(', ', get_field('checkboxes'));
When I check all the boxes my output looks like;
One, Two, Three
But, I am looking for a way my output looks like;
One, Two & Three
And when I check only two boxes the output will be;
One & Two
Can't find this anywhere, please help!
Cheers