<?php
session_start();
$arr=$_SESSION['messages'];?> <?php foreach($arr as $row): ?>
              <TR 
              style="FONT-WEIGHT: normal; FONT-STYLE: normal; BACKGROUND-COLOR: white; TEXT-DECORATION: none">
                <TD><?php echo $row[0];?></TD>
                <TD><A href="#" target=_blank><?php echo $row[1];?></A></TD>
                <TD><?php 
                if($row['allowed']==0){
                 echo "<IMG alt=申请通过 src='YHChannelApply.files/start.gif' border=0>";
                }else{
                 echo "<IMG alt=申请未通过 src='YHChannelApply.files/no.gif' border=0>";
                }
                ?>
读出来的是乱码?数据库里是好好的