echo "<pre>$mytext</pre>"; // ;-)Thanks!
Unless you are going to render to a fixed-width font,
your spacing will suffer anyway... or do you only
care about left-hand spaces, ie for indenting?
I did not know about the <pre> tag, but this was what I needed (and yes, I only really care about indenting)!.
Fredrik.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php