Well Lisa, that is exactly the way htmlspecialchars is supposed to work.
Here you could also display - Test - without using any function at all,
simply echo "Test"; and this should work well.
NetEmp
On Fri, Mar 11, 2011 at 11:51 PM, Daniel Brown wrote:
> On Fri, Mar 11, 2011 at 13:07, Lisa Ngu
On Fri, Mar 11, 2011 at 13:07, Lisa Nguyen wrote:
> Hi
>
> I use one of your example to test the htmlspecialchars :
>
> $new = htmlspecialchars("Test", ENT_QUOTES);
> echo $new; // Test
> ?>
>
> On my browse, it display like below
> Test
>
> Instead:
> Test
>
> Please help me h
2 matches
Mail list logo