1
hi guys,
i use this module called lexikon and it has a page like
this to make a ist of terms submitted with some initial letter. however some of the terms are similar ( look there are double "duh" in the list). the code it like this:
while (list( $entryID, $categoryID, $term, $init, $definition, $ref, $url, $uid, $submit, $datesub, $counter, $html, $smiley, $xcodes, $breaks, $block, $offline, $notifypub, $request, $comments ) = $xoopsDB->fetchRow($resultB))
{
$eachentry = array();
$xoopsModule = XoopsModule::getByDirname("lexikon");
$eachentry['dir'] = $xoopsModule->dirname();
$eachentry['id'] = intval($entryID);
$eachentry['term'] = ucfirst($myts -> makeTboxData4Show( $term ));
$eachentry['init'] = $init;
...
}
how do I show only unique
$eachentry['term']
in a list?
Mind anchors