[ic] if-loop-param question

Ed LaFrance (New Media E.M.S.) ic_users at newmediaems.com
Thu Sep 9 10:09:12 EDT 2004

At 06:44 AM 9/9/2004, you wrote:

>I cant seem to figure out this little bit of code.
>I am trying to get only one <BR> after a series of [if-loop-param]'s,  if
>any one of the [if-loop-param] is true then output one <BR> only, even if
>all of these are true.
>here is the code
>[if-loop-param city][loop-param city],&nbsp;[/if][if-loop-param
>state][loop-param state]&nbsp;[/if][if-loop-param zip][loop-param zip][/if]
>and I want something to do this at the end
>  [if-loop-param city and/or state and/or zip]<br>[/if]
>Thanks in advance for any help,

Here's one way, though not particularly efficient if you are doing this 
100's of times on a page:

[tmp csz][loop-param city][loop-param state][loop-param zip][/tmp]

[if scratch csz]<br>[/if]

New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          Ed.LaFrance at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax

More information about the interchange-users mailing list