\n
| From: | John Taylor-Johnston | Date: | Tue, 04 Mar 2003 09:00:22 +0000 |
| Subject: | \n | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-138053@lists.php.net to get a copy of this message | ||
Nothing fancy. Can't get it to echo ¶
<textarea cols=30 rows=5 name=testtextarea>mary
had
a
little
lamb</textarea>
if ($testtextarea)
{
$inputresult = str_replace(\n, '¶'.\n, $testtextarea);
echo "<textarea cols=30 rows=5 name=testtextarea>$inputresult</textarea>";
}