--- Koch-1 Linda <[EMAIL PROTECTED]> wrote: > I am using PHP 4, Apache, but the '\n' is not going to the next > line during a print.
There are probably two issues here. One is that anything in single quotes gets translate literally, so '\n' will output \n whereas "\n" will output a newline character. The other issue is that newlines are not interpreted by browsers unless something like the <pre> tag is used or the content type is plain text. In the case of HTML documents, you need a <br> (or <br /> for XHTML). There is a PHP function that can help with this, nl2br(). Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php