From your comment below:
This code displays the members selections but only as a comma
separated list:<?php bp_member_profile_data( 'field=Countries' ); ?>
// $countries_csl should contain something like 'hufflepuff, hogwarts, heaven, hell'
$contries_csl = bp_get_member_profile_data( 'field=Countries' );
// convert the comma seperated list (csl) into an array by using explode( [delimiter], [string] )
$countries = explode( ',', $countries_csl );
// check if the string to array conversion was successfull
if ( is_array( $countries ) && ! empty( $countries ) ) {
// adjust the html to your needs (add some css classes or something else)
echo '<ul>';
// walk over the array and print out a li-item for each array element
foreach ( $countries as $country ) {
// to be sure that every country starts with an UpperCase letter, use ucfirst()
printf( '<li>%s</li>', ucfirst( $country ) );
}
// do not forget to close the list
echo '</ul>';
}
You have a comma seperated list, you need a bullets list. Just convert the comma seperated list into an array and walk over it to generate a bullets list.