[ic] little loop question

Joachim Leidinger interchange-users@interchange.redhat.com
Thu Feb 14 07:34:01 2002


Twentys wrote:
...
>                        [loop option=color search="
>                         ra=yes
>                         fi=products
>                         ml=50
>                         tf=color
                          un=1


>                   "]
> 
>                   <option value="[loop-data products color]"> [loop-data products color]</option>
>                   [/loop]
>   </select>
> 
> But so I have something like this parameters in my select box
> blu
> yellow
> red
> blu
> 
> It write 2 times blu....
> How can I have
> blu
> yellow
> red
> 
> without repeat blu?
> Thanks to everyone (sorry for my english)
> Rolando


un  mv_unique

If set to a true value, causes the sort to return only unique results.
This operates on whatever the search return is, as defined by
mv_return_fields. 

See the docs....

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de] 
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de