dongqiang8683 2018-03-06 07:05
浏览 62

如何使用php从mysql检索数据到wysiwyg编辑器

I am creating a job website in which I am using WYSIWYG editor to post details of a job into HTML format using WYSIWYG editor. I am successful in posting job but when I retrieve the same data to update in WYSIWYG editor it does not display in the proper format? How can I do this please help me I am in trouble.

  • 写回答

1条回答 默认 最新

  • douniuta4783 2018-03-06 07:16
    关注

    try html_entity_decode($content) if it's not working can you post me the content format loaded when load update window or did you check how the content was saved in DB? I think the content was saved with html_encoded for the security if that's is the case you have to do html_decode using above function.

    评论

报告相同问题?

悬赏问题

  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?
  • ¥15 matlab(相关搜索:紧聚焦)
  • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
  • ¥15 路易威登官网 里边的参数逆向
  • ¥15 Arduino无法同时连接多个hx711模块,如何解决?
  • ¥50 需求一个up主付费课程
  • ¥20 模型在y分布之外的数据上预测能力不好如何解决
  • ¥15 processing提取音乐节奏