Don Collier wrote:

> First, when I use the \n and run the script from the command line it
> works great.  When I run the same code in a browser it does not put
> the newline in and the text runs together.  I know that I can use
> <br/> to do the same thing, but why is it this way? 

That's how HTML works. 

> The second question is closely related to the first.  When formatting
> text using printf the padding works great when running from the
> command line but not at all when in a browser.

Same answer. 


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to