Forum Moderators: coopster
there, I just did some carriage returns and lo and behold there are spaces! Thing is, these are returned from "this box" (which is a <textarea>) in the form of linebreaks - or rather, \n (and \r in macs, and \r\n in windows). HTML doesn't display line breaks this way, so you just do:
$html = nl2br($html);
and that converts the linebreaks that come in from the textarea to linebreaks as displayed in HTML.
[be2.php.net...]