[ic] Random Component?

DB DB at M-and-D.com
Thu Jan 8 13:55:10 EST 2004


> td align="center">
>     <br>
>     [calc]
>    my $n = [control cols 1];
>  $Scratch->{width_percent} = int(100 / $n) . '%';
>  return;
>     [/calc]
>     <table width="100%" border="0" cellspacing="0" cellpadding="0"
> align="center">
>     [table-organize embed=1 pretty=1 cols="[control cols 1]"]
>  [loop
>    random="[control matches 3]"
>    search="
>      fi=products
>      st=db
>      ra=yes
>      ml=[control pool 1000]
>     "]
> 
> Its displaying products up and down, I want to display 3 products together
> How do I do this..


Just a guess.. but have you tried changing

"control cols 1"

to

"control cols 3" ??


DB



More information about the interchange-users mailing list