[ic] Abbreviated random search

Tom Friedel tom at readyink.com
Mon Aug 30 20:58:12 UTC 2010

I inherited many instances of something like this 

[loop search=" fi=products/st=db/co=1/sf=prod_group/se=Parts/op=rm/nu=0/ml=1 

and want to do a Mysql search with 'order by rand()' and 'order by 

I tried /tf/rand() with no luck. 

The code actually looks like 

[loop random="[control matches 100]"  serch=... 

and I am not sure what the random= does if anything because it is not 
documented with loop tag. 

Is there anyway I can keep the structure of this code and use the mysql 
'order by rand(seed) functionality? 

Thank you in advance,
Tom Friedel 

More information about the interchange-users mailing list