Jump to content

<htmlspecialchars> not working for me


samerhannoun

Recommended Posts

hi all I am into using htmlspecialchars function I working with PHP manual example but not working for me I am using WAMP server latest version this is the example <?php$new = htmlspecialchars("<a href='test'>Test</a>", ENT_QUOTES);echo $new; // <a href='test'>Test</a>?>the output for me <a href='test'>Test</a>By the way, I want to ask anther question,, How can I retrieve this encoded html again as html ??? are there a function to do that???best wishes

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...