James <[EMAIL PROTECTED]> wrote:
> When I print an array out with print_r (php 4.06 on IIS 4.0) it does not
> print newlines even if newlines are embedded in the array element.  I must
> embed <br>, instead.

it probably is printing the newlines, but in html, newlines are
treated like any other whitespace, and do not always cause a new line.
you can wrap your output in "<pre></pre>" to preserve the newlines.

jim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to