Escaping from "<"
| From: | Augusto Cesar Castoldi | 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>";