OK, I get it now. I had forgotten that PHP output is text, as opposed to the result produced by HTML. When the documentation states that the newlines will be output as well it means that literally -- not that the browser will output the newlines. Thanks for jumping onto this. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php