1
deka87
how do I avoid similar terms to appear in the term list - lexikon module
  • 2011/11/18 7:47

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


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

Login

Who's Online

161 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits