Re: end of line
| From: | Marcjon | Date: | Mon, 30 Aug 2004 05:39:18 +0000 |
| Subject: | Re: end of line | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35937@lists.php.net to get a copy of this message | ||
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