note 9335 added to print

From: 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("&","&amp;",$string); $string=str_replace("<","&lt;",$string); $string=str_replace(">","&gt;",$string); http://www.php.net/manual/function.print.php

« previous php.notes (#7110) next »