keith21
Member
Hi
I have joined fabrik table with joomla groups table. I can create new records perfectly fine. Although when I open that record it does not show the multi selection off groups. Database shows that is has more than one group imputed.
This is code i have used:
I have attached a some pics as well.
I have joined fabrik table with joomla groups table. I can create new records perfectly fine. Although when I open that record it does not show the multi selection off groups. Database shows that is has more than one group imputed.
This is code i have used:
Code:
$db = JFactory::getDbo();
$db->setQuery("SELECT u.id, u.title, p.singlelineaddress FROM sin_usergroups u INNER JOIN sin_prid p ON u.title = p.prid WHERE parent_id = '3' order by u.id asc ");
$rows = $db -> loadObjectList();
foreach ($rows as $row) {
$options[] = JHTML::_('select.option',$row->id,"$row->title - $row->singlelineaddress");
}
return $options;
I have attached a some pics as well.