sarathi Posted July 28, 2009 Share Posted July 28, 2009 I am looking for a way to automatically replace < and > with < and >, I have tried <xmp> but it seems to pre-format the text, which I don't want. I also have a system which insert html when certain tags are placed in the text, such as [*code*] and [*/code*], and I want the html entered from these to display. Is there any way to do this in html or php? Quote Link to comment Share on other sites More sharing options...
sarathi Posted July 28, 2009 Author Share Posted July 28, 2009 nvm, I just discovered htmlspecialchars(); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.