This topic is locked

Adding a <br> in a concat()

10/18/2006 10:27:04 AM
PHPRunner General questions
D
Dale author

Is it possible to concat(name,' ',address,' ',city) but add new lines for display.
I would like the result to break with new lines between the name address and city when viewing in the list.

Is this possible?
Using ver 3.0

Alexey admin 10/18/2006

Dale,
sure, here is the code:

concat(name,'
',address,'
',city)
Make sure you use HTML View type for your field.

paperhog 8/29/2007

Dale,

sure, here is the code:

concat(name,'
',address,'
',city)
Make sure you use HTML View type for your field.


I have [codebox]hr_expo_company_name +'
' + hr_expo_company_address +'
' + hr_expo_company_city+' ,&nbsp;' +hr_expo_company_state +' ,&nbsp;' +hr_expo_company_zip +'
phone:' + hr_expo_company_phone +'
fax: ' +hr_expo_company_fax +'
email:' + hr_expo_company_email +'
' +hr_expo_company_website[/codebox]
And marked view as html but to no avail (html is dimmed) and the
shows on the page. Any ideas?
Thanks

Lori