Yesideez Posted July 2, 2007 Share Posted July 2, 2007 Hi, I've had a mind blank and can't remember which functions I'm needing to use although I remember they use "ENT_QUOTES" somewhere. I'm taking input from the user via <textarea> and need to encode it for same storage in a database. This means changing various characters to "e; or other similar codes. Quote Link to comment Share on other sites More sharing options...
trq Posted July 2, 2007 Share Posted July 2, 2007 htmlentities(). Quote Link to comment Share on other sites More sharing options...
Yesideez Posted July 2, 2007 Author Share Posted July 2, 2007 Thank-you muchly! (I meant to use the word "safe" instead of "same" in my main post) 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.