Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfset r = Randomize(TimeFormat(Now(), "ll"))>
- <cfset x = 0>
- <cfloop query="queryname">
- <cfif RandRange(1,10) eq 5>
- <cfset x = x + 1>
- <!--- put your stuff here --->
- </cfif>
- <cfif x eq 8>
- <cfbreak>
- </cfif>
- </cfloop>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement