Does anybody know how I could display my mutiselect menu data on my flexinode node?

If I just print something like:

$node->flexinode_33 It displays "array".

I can implode it with something like:

  $myVar = implode(' | ', $node->flexinode_33);
  print $myVar;

However, this displays the item ID like "1 | 2 | 3" and not the actual text such as "Option 1 | Number 2 | Title 3".

Does anybody know how I could display the actual text?

Thank you!

Comments

dww’s picture

i just answered the same question for someone else yesterday. ;)

http://drupal.org/node/50975

___________________
3281d Consulting

dww’s picture

whoops, i just realized you are the person who asked the other question... sorry for jumping the gun. ;)

so, what's different about this and the thing you said was already working perfectly? i don't understand why you're asking again.

___________________
3281d Consulting

slayerment’s picture

Sorry for confusing you... The one that you helped me out with yesterday worked perfect... it was the Dropdown menu item. However, this does not work for the Multilist item because this will sometimes output more than one item which makes the data parse as an array. Once it is an array the method you recommended no longer works for this. I am wondering how I can make what you recommended on the dropdown work for my array also.

Thank you very much for you time, I appreciate it :).

slayerment’s picture

Anybody?

slayerment’s picture

Does anybody know?