Escaping from "<"

From: Date: Thu, 17 May 2001 01:12:50 +0000
Subject: Escaping from "<"
Groups: php.general 
Request: Send a blank email to php-general+get-53135@lists.php.net to get a copy of this message
I'm tring to print the variable "tmp", but the echo is just printing "abcd", the rest he can't print. Why? regards, Augusto $tmp="abcd<efg"; echo $tmp."<br>"; echo "<br>"; $tmp=addslashes($tmp); echo $tmp."<br>"; echo "<br>"; $tmp=stripslashes($tmp); echo $tmp."<br>";

« previous php.general (#53135) next »