[ic] if-loop-param question
Kevin Walsh
kevin at cursor.biz
Thu Sep 9 11:17:18 EDT 2004
Tom Luong [tluon002 at lions.odu.edu] wrote:
> 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], [/if][if-loop-param
> state][loop-param state] [/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]
>
Try this sort of thing:
[tmp tmp][if-loop-param city][loop-param city], [/if][if-loop-param state][loop-param state] [/if][if-loop-param zip][loop-param
zip][/if][/tmp]
[if scratch tmp]
[scratch tmp]<br>
[/if]
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users
mailing list