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. Link to comment https://forums.phpfreaks.com/topic/58060-solved-need-to-encode-text/ Share on other sites More sharing options...
trq Posted July 2, 2007 Share Posted July 2, 2007 htmlentities(). Link to comment https://forums.phpfreaks.com/topic/58060-solved-need-to-encode-text/#findComment-287897 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) Link to comment https://forums.phpfreaks.com/topic/58060-solved-need-to-encode-text/#findComment-287977 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.