<textarea>
| From: | jtjohnston | Date: | Sat, 19 Jan 2002 00:43:46 +0000 |
| Subject: | <textarea> | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81178@lists.php.net to get a copy of this message | ||
This is the input of a <textarea>. I don't suppose there is an easier
way of doing this?
$mydata->KW = str_replace("\r", "", $mydata->KW);
$mydata->KW = str_replace("\n", "<br>", $mydata->KW);
$mydata->KW = str_replace("<br><br>", "<p>",
$mydata->KW);
What does htmlspecialchars do exactly?
Yes I've read the docs, but didn't really follow.
An email post & reply would be real helpful :)
John