> How about:
>
> [+ $set[$row]{org_name} ? "<BR>$set[$row]{org_name}" : "" +]
> [+ $set[$row]{address1} ? "<BR>$set[$row]{address1}" : "" +]
> [+ $set[$row]{address2} ? "<BR>$set[$row]{address2}" : "" +]
>
> etc
>
> You may need to set $escmode to 0 to stop the <BR> being escaped, I
> can't remember.
>

That's very dangerous. You should only use this if you are very sure that
your data that is coming form @set doesn't contains any charaters that need
to be escaped. You will really get into trouble if you allow somebody to
enter the data via a web frontend, what if someone types some vaild java
script in? This java script will be excuted when the page is displayed...

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to