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:

le="color: #000000"><?php 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
le="color: #000000"><?php $eachentry['term']
in a list?
Mind anchors

Login

Donat-O-Meter

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