Hi,
My data from calc field are currently display in a text list
$rows = $myDb->loadObjectList();
$list = array();
foreach ($rows as $row)
{
$list[] = "<li>" . $row->subactivity_name . "</li>";
}
I need to list the data in a dropdown so I can select an option. I tried some php coding but obviously I am missing some syntax in terms of fabrik or joomla for the calc field.
Any advise or direction in resolving it is much appreciated.
Thanks
Alex
My data from calc field are currently display in a text list
$rows = $myDb->loadObjectList();
$list = array();
foreach ($rows as $row)
{
$list[] = "<li>" . $row->subactivity_name . "</li>";
}
I need to list the data in a dropdown so I can select an option. I tried some php coding but obviously I am missing some syntax in terms of fabrik or joomla for the calc field.
Any advise or direction in resolving it is much appreciated.
Thanks
Alex