"Marcjon" <marcjon@xxxxxxxxxxx> wrote in message news:1093844358.24698.203307089@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Try this: > echo str_replace ( "\n", "<p>", $string); > > I believe it always stores newlines as \n, since PHP and MySQL are > native to Unix/Linux. > -- > Marcjon Or use the PHP built-in function nl2br(): http://de3.php.net/manual/en/function.nl2br.php Regards, Torsten Roehr -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php