Posted by Carl on 10/13/48 11:30
Jorge A wrote:
> Hi!
>
> $text = 'a<b';
> print $text;
>
> It only shows the output: "a". How can I get the output: "a<b"
>
> Thanks in advance!
Jorge,
try:
print htmlentities($text);
why:
http://www.php.net/manual/en/function.htmlentities.php
Cheers,
Carl.
Navigation:
[Reply to this message]
|