Define and print an array of Muilti Select data

I’m tryin gto print the data of a multi select but It doesn’t print correctly. My code lools like below. How do I get this to work?

<?php
$theirRelaTYpe= um_user('relationship_types');
 print_r($theirRelaTYpe); 
?>

It prints the result belw
Array
(
[0] => Serious/Long Term relationship
)

What does the um_user() function do? If it’s getting membership information, won’t it just return the type for that member, not all the possible types?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.