homer.favenir Posted May 13, 2009 Share Posted May 13, 2009 hi, may ask how can i echo tags? $input = '<regionx refid="CAX\SCAQMD\rgVII\rl715\"> Regulation VII, Rule 715 </regionx>'; echo $input; but the output is Regulation VII, Rule 715 i need to be the output is exactly <regionx refid="CAX\SCAQMD\rgVII\rl715\"> Regulation VII, Rule 715 </regionx> thanks! Link to comment https://forums.phpfreaks.com/topic/157932-echo-tags/ Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted May 13, 2009 Share Posted May 13, 2009 Try this : $input = '<regionx refid="CAX\SCAQMD\rgVII\rl715\"> Regulation VII, Rule 715 </regionx>'; $input = htmlentities($input, ENT_QUOTES); echo $input; http://www.php.net/manual/en/function.htmlentities.php Link to comment https://forums.phpfreaks.com/topic/157932-echo-tags/#findComment-833069 Share on other sites More sharing options...
homer.favenir Posted May 13, 2009 Author Share Posted May 13, 2009 thanks! Link to comment https://forums.phpfreaks.com/topic/157932-echo-tags/#findComment-833111 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.