rh71
No Lifer
- Aug 28, 2001
- 52,844
- 1,049
- 126
ColdFusion is tag based, just like HTML as you know. You insert the CF code where you want it (aside from code for: ie. preparing DB connections, etc.). For CF code (CFLOOP using your array example), wherever you place it... the outputted data would be in its place (even in view source). No whitespaces (unless you specify code for whitepspaces in a loop).
HOWEVER, as in my example with preparing DB connections (like at the top of the page), that turns into whitespace when you do a view source after the page is rendered. On the webpage, you don't see the whitespace.
HOWEVER, as in my example with preparing DB connections (like at the top of the page), that turns into whitespace when you do a view source after the page is rendered. On the webpage, you don't see the whitespace.
