Hey,
I'm trying to combine some array items to create a text area input with line breaks, but I can't get the line breaks to work. It works with wysisyg but I need the values to be read-only and dont want the large wysiwyg editor on my post edit screen.
Heres my code:
$address =
$this->form_obj['cust_address1'] .
'<br>' .
$this->form_obj['cust_address2'] .
'<br>' .
$this->form_obj['cust_city'] .
'<br>' .
$this->form_obj['cust_country'];
Output in admin area:
https://www.dropbox.com/s/yjv4onkqn89qazn/metaboxtextarea.JPG?dl=0
Something similar happens with \n (the 'n' prints and there's no line break).
How do I get a line break in this situation?
Thanks