<?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>";
}
?>
读出来的是乱码?数据库里是好好的
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>";
}
?>
读出来的是乱码?数据库里是好好的
参考这篇:
http://topic.csdn.net/u/20100806/16/7be469bd-1126-4cfc-b531-5f521d7663d2.html?95438