简体   繁体   中英

Data transfer from tiny MCE in HTML to php?

当我从HTML中的tinymce数据发送到PHP时,可以接收数据,但它是以HTML代码形式出现的……如何解决它并取回数据?

TinyMCE is an HTML editor. Accept the data from TinyMCE (sanitize it) and store it in the database. When you display it in the page, it will be as entered by the user.

If you want to remove all the HTML tags, you can use strip_tags .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM