&lt;TABLE CellSpacing=0 cellPadding=0 width=&quot;98%&quot; border=0&gt; <br> &lt;TBODY&gt; <br> &lt;TR&gt; <br> &lt;TD Align=left text-align=&quot;center&quot;&gt; <br> &lt;P class = MsoNormal style = &quot;MARGIN: 0cm 0cm 7.8pt; TEXT-INDENT: 18pt; LINE-HEIGHT: 17pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-char-indent-count: 2.0 ; mso-line-height-rule: exactly; mso-para-margin-bottom: .5 gd &quot;align = left&gt; &lt;SPAN style =&quot; FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-font-kerning: 0pt; mso-bidi-font-family: Arial, &quot;&quot; the first step, Shenzhen Communication Technology Co., Ltd. (hereinafter referred to in the first step communication) is located in Shenzhen High-tech Industry Park, is an &lt;IMG style = &quot;FLOAT: left; MARGIN: 4px; WIDTH: 236px; HEIGHT: 178px &quot;src =&quot; http://localhost:90/php/zhihong/admin/fck/uploadfile/200910281256720224.jpg &quot;&gt; 请问如何将这段字符串在网页中正确显示。把原因说下好吗?谢谢!

解决方案 »

  1.   

    htmlspecialchars_decode<TABLE CellSpacing=0 cellPadding=0 width="98%" border=0> <br> <TBODY> <br> <TR> <br> <TD Align=left text-align="center"> <br> <P class = MsoNormal style = "MARGIN: 0cm 0cm 7.8pt; TEXT-INDENT: 18pt; LINE-HEIGHT: 17pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-char-indent-count: 2.0 ; mso-line-height-rule: exactly; mso-para-margin-bottom: .5 gd "align = left> <SPAN style =" FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-font-kerning: 0pt; mso-bidi-font-family: Arial, "" the first step, Shenzhen Communication Technology Co., Ltd. (hereinafter referred to in the first step communication) is located in Shenzhen High-tech Industry Park, is an <IMG style = "FLOAT: left; MARGIN: 4px; WIDTH: 236px; HEIGHT: 178px "src =" http://localhost:90/php/zhihong/admin/fck/uploadfile/200910281256720224.jpg ">
      

  2.   

    其实我想问的是怎么把
    <TABLE CellSpacing=0 cellPadding=0 width="98%" border=0> <br> <TBODY> <br> <TR> <br> <TD Align=left text-align="center"> <br> <P class = MsoNormal style = "MARGIN: 0cm 0cm 7.8pt; TEXT-INDENT: 18pt; LINE-HEIGHT: 17pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-char-indent-count: 2.0 ; mso-line-height-rule: exactly; mso-para-margin-bottom: .5 gd "align = left> <SPAN style =" FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-font-kerning: 0pt; mso-bidi-font-family: Arial, "" the first step, Shenzhen Communication Technology Co., Ltd. (hereinafter referred to in the first step communication) is located in Shenzhen High-tech Industry Park, is an <IMG style = "FLOAT: left; MARGIN: 4px; WIDTH: 236px; HEIGHT: 178px "src =" http://localhost:90/php/zhihong/admin/fck/uploadfile/200910281256720224.jpg ">显示成网页元素,比如说<img />显示出图片。
      

  3.   

    不行呀!
    用echo 方法输出的,网页中显示
    <TABLE CellSpacing=0 cellPadding=0 width="98%" border=0> <br> <TBODY> <br> <TR> <br> <TD Align=left text-align="center"> <br> <P class = MsoNormal style = "MARGIN: 0cm 0cm 7.8pt; TEXT-INDENT: 18pt; LINE-HEIGHT: 17pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-char-indent-count: 2.0 ; mso-line-height-rule: exactly; mso-para-margin-bottom: .5 gd "align = left> <SPAN style =" FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-font-kerning: 0pt; mso-bidi-font-family: Arial, "" the first step, Shenzhen Communication Technology Co., Ltd. (hereinafter referred to in the first step communication) is located in Shenzhen High-tech Industry Park, is an <IMG style = "FLOAT: left; MARGIN: 4px; WIDTH: 236px; HEIGHT: 178px "src =" http://localhost:90/php/zhihong/admin/fck/uploadfile/200910281256720224.jpg ">
    这是用google接口把数据库的数据翻译成英文,然后输出成这样。