Author Topic

Dave Dykshoorn

Friday 22 August 2003 10:35:20 am

Comment38623

I'm glad it was useful. This is how I used $selectedEnums

I needed to figure out the values that were selected (EnumValue) and then put them into a comma seperated list. Here's how I did it, it's pretty basic.

$myList = "";
foreach( $SelectedEnums as $SelectedEnum )
{
if ($myList == "" )
$myList = $SelectedEnum->EnumValue;
else
$myList= $myList . ',' . $SelectedEnum->EnumValue;
}