weixin_33712881 2018-01-30 09:03 采纳率: 0%
浏览 13


I have a problem with my script.

I Insert in my bdd my mails thanks to the Outlook API. To make an Insert I get the source code of my mail then insert it, so far no problem.

After that I make a select to display the mail in another page. My problem is that

the source code is not interpreted

, it shows me all the tags, I don't understand why it doesn't read them.

my echo that displays my emails following the SELECT. My variable $result[body] displays the source code of the email... How do I force it to convert?

 echo nl2br('<!DOCTYPE html>'.'<div class="emailBody">'.'<div class="list-group-item-heading premier">' . $result[from_mail] . '</div>' ."
". '<div class="second">' . $result[recei] .'</div>' ."
". '<div id="post1" class="trois azerty">' . '<p class="azerty bodypreview_1">' . $result[subject]. '</p>'."
".'<div class="demasquer">' .'<p class="body_1">'.$result[body].'</p>'.")".'</div>'.'</div>'. '</div>');

  • 写回答



      相关推荐 更多相似问题


      • ¥15 android freedom
      • ¥15 使用自定义的类型代替内置类型可行吗
      • ¥15 关于STM32的SPI和ENDAT接口编码器通信的问题
      • ¥15 关于#pdfbox#生成的PDF文件正常,转图片中文乱码的问题,如何解决?
      • ¥15 ADS中有关DAC控件的使用问题
      • ¥15 win11如何运行geoserver
      • ¥15 审稿意见请教-用ERNIE进行小样本分类的对比实验问题
      • ¥15 gem5搭建arm v8
      • ¥15 安卓时间管理APP,怎么做
      • ¥15 这段有什么bug 为什么总报错