开发者

Should I unescape some characters if using a tool like NicEdit for posts? How?

开发者 https://www.devze.com 2023-02-08 12:11 出处:网络
I\'m planning on using nicEdit for posts to allow users to change the text font, weight, add a picture... But my question is, before using mysql_real_escape_string s开发者_如何学运维hould I unescape s

I'm planning on using nicEdit for posts to allow users to change the text font, weight, add a picture... But my question is, before using mysql_real_escape_string s开发者_如何学运维hould I unescape some characters? If so, how do I do that?


Try with: ... = stripslashes($_POST['foo']);

0

精彩评论

暂无评论...
验证码 换一张
取 消