Re: print_r question

[email protected] Sat, 25 Aug 2001 00:44:32 +0200
Newsgroups php.lang
Message-ID <[email protected]>
"James" <[email protected]> wrote in message
news:[email protected]...
> 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.
>
> The manual examples use \n and the output shows that newlines are created.
>
> Am I missing something?
>
> Newbie, here.  Hope this is the right thread for such question.

It isn't. Try php-general.

This one is for language-specification of PHP...

(btw: the newlines are visible in the source of your output, but browsers
ignore newlines. Unless within <pre>...</pre>.)

>
> Thanx,
> James
>
>