Re: Problem with echo
| From: | Bas Jobsen | Date: | Sun, 11 Aug 2002 13:57:35 +0000 |
| Subject: | Re: Problem with echo | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112030@lists.php.net to get a copy of this message | ||
Op zondag 11 augustus 2002 16:42, schreef Kristoffer Strom:
> Got a problem when echo:ing a variable containing alot of text.
> When echoing it backslashes ("\") every apostrophe ("'") and quote
> (").
> This I don't like.
> And I can't use HTMLSPECIALCHARS or HTMLENTITIES since the text has alot of
> html tags that I want to keep intact.
>
> /Kris
echo stripslaches($var);