PHP简单留言本的制作(二)

类别:编程语言 点击:0 评论:0 推荐:
 查询每条记录并通过表格每条分别显示:

<?php
do {
$i++;
?>
 <TABLE style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word"  cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR> 
                             <TD class=font width="25%"> <IMG height=10  src="images/a.gif" width=10> <? echo  $myrow["title"] ;?></TD>
                              <TD align=right width="75%"> <? echo $myrow["weather"]?> <? echo $myrow["time"]?> </TD>
                    </TR>
                    <TR>
                                <TD width=25%> <? echo $myrow["face"]?> </TD>
                                 <TD style="WORD-SPACING: 1px; LINE-HEIGHT: 150%"  vAlign=top colSpan=2 width=80%><BR><? echo $myrow["smile"]?><? echo $myrow["message"]?> </TD>
                    </TR>
                    <TR>
                                  <TD style="WORD-SPACING: 1px; LINE-HEIGHT: 100%"  vAlign=top align=right colSpan=2>
                                    <BR>留言人:<span class="style1"><? echo $myrow["name"]?></span>
                      </TD>
                    </TR>
                     </TBODY>
</TABLE>

本文地址:http://com.8s8s.com/it/it25090.htm