Re: [PHP] Re: [PHP-WEBMASTER] php with htmlspecialchars function

2011-03-11 Thread NetEmp
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

[PHP] Re: [PHP-WEBMASTER] php with htmlspecialchars function

2011-03-11 Thread Daniel Brown
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