note 9335 added to print
| From: | dufus at dgs dot 20m dot com | Date: | Sat, 28 Oct 2000 11:06:34 +0000 |
| Subject: | note 9335 added to print | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7110@lists.php.net to get a copy of this message | ||
You can print out textareas and other inputs that may contain terminators by replacing the < and
> with lt and gt.
ie.
$string=str_replace("&","&",$string);
$string=str_replace("<","<",$string);
$string=str_replace(">",">",$string);
http://www.php.net/manual/function.print.php