I am using CKEditor
in php and what I am trying to do is to store data from CKEditor
to MySQL
table. When I try to store data it works fine on localhost but the problem is when I put it online.
I am inserting path in CKEditor
from image tool and the path is like www.xxx.com/myfolder/abc.jpg this shows image in CKEditor
but when click on submit it gives \\"\\"
when I try to print that variable.
尝试此操作,以消除CKeditor添加的反斜杠来解决此问题,
stripslashes($_POST['content']);
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.