Currently we have an array that spits out in a footer to shuffle our site sponsors
<cfset arrSponsors = ListToArray(
'<a href="
http://www.fmanet.org/memberdirectory/member-details.cfm?id=102951">Clark Metal Products Co.</a>,
<a href="
http://www.fmanet.org/memberdirectory/member-details.cfm?id=139608">General Sheet Metal Works Inc.</a>
')/>
<cfset CreateObject("java","java.
util.Colle
ctions").S
huffle(arr
Sponsors)/
>
<cfoutput>
<cfloop array="#arrSponsors#" index="i">
<dd>#i#</dd>
</cfloop>
</cfoutput>
If I want to replace the hard-coded list with a query how do I get that to shuffle?
<cfloop query = "getSupporters">
<cfoutput>
<dd><a href="#getSupporters.SiteS
upportersU
RL#">#getS
upporters.
SiteSuppor
tersName#<
/a></dd>
</cfoutput>
</cfloop>
http://www.cflib.org/udf/QueryRandomRows