代码如下 | 复制代码 |
include("smarty_inc.php"); $rzlysql = "SELECT * FROM `log_reply`"; ?> |
然后是 index,html
代码如下 | 复制代码 |
<{section name=y loop=$name}> <{$title[y].id}> - <{$title[y].info}> - <{$title[y].ip}> - <{$title[y].time}> - <{$title[y].Reply}> <{sectionelse}> www.111com.net <{/section}> |