问问题
201 次
1 回答
1
htmlentities
is a workaround for not having set the character type of the document properly. htmlspecialchars
is the correct function to use for merely writing text into an HTML document.
As to your second question, I think you're looking for addcslashes.
于 2013-10-25T15:29:09.723 回答