At 22:07 26/4/2001 -0400, you wrote:
>Hi all,
>I know how to get a line break in text. Is there a way to get a line break 
>between the user agent string below? I would line to print in a column 
>instead of a long row.

Use \n\r concatening with your actual string

See below:

><?php
>$newfile = fopen("log_test.txt", "a+");
>fwrite($newfile, getenv("HTTP_USER_AGENT")."\n\r");
>fclose($newfile);
>?>


It will work.

Regards

Alex


-- 
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