output table tr x = 1 w = 4 cfoutput query if x mod 4 == 0 then output /tr tr end if output td output data output td x = x + 1 end cfoutput ; optionally iterate x til x mod 4 == 0 to dump empty cells output /tr output /table