Hey guys,
I am using a textarea to pass information to PHP. I want to be able to
include HTML tags inside the text area. I am using ln2br() to properly
convert line breaks to HTML. This is where my issue comes up.
Lets say I have
<ul>
<li>Blar</li>
</ul>
ln2br() will crunch that and put out:
<ul><br />
<li>Blar</li><br />
</ul><br />
That creates a lot of white space when that HTML is rendered. How do I
tell PHP not to put line breaks in a situation like that?
Thanks!
--
Kevin Breit <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php