Thread
:
[SOLVED] breaklines in textarea
View Single Post
#
2
(
permalink
)
Apr 10th, 2008, 12:27
Aso
Chief Moderator
Join Date: Oct 2007
Location: UK
Posts: 967
Blog Entries:
2
Thanks: 5
Thanked 19 Times in 17 Posts
Re: breaklines in textarea
Not sure if I understood, but have you tried wrapping
$
html
['item']['description']
in
nl2br
?
Something like
PHP
:
Select all
<?
php
echo
nl2br
(
$
html
[
'item'
][
"description"
]);
?>
Aso
View Public Profile
Find all posts by Aso
View Blog