Output comma with get_field in Advanced Custom Field

I would like to output the name and the degree in this format: John Doe, PhD My code is follow: $degree = get_field( ‘degree’, $post->ID ); <h4 class=”block-slider-faculty__slide__details__title”><?php the_title(); ?><?php echo implode(‘, ‘, $degree); ?></h4> I got the “Warning: Implode(): invalid arguments passed in…” error. I believe I need to put the $degree in an…

Details