smarty循环的时候,如何知道那条数据是第一条,哪条数据是最后一条? 本帖最后由 szgekko 于 2009-10-20 10:26:13 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 {section name=customer loop=$custid} {if $smarty.section.customer.first} <table> {/if} <tr><td>{$smarty.section.customer.index} id: {$custid[customer]}</td></tr> {if $smarty.section.customer.last} </table> {/if} {/section}多参看一下手册. PHP验证码问题 請問怎樣才能用php顯示.swf flash檔呢? 请问怎样让PHP执行字符串内的运算符? 哪位大侠,给一个php访问.net webservice的列子啊(要传递参数) 采集图片保存到本地 是不是PHP的include效率比较低,有没有办法提高 寻求合作开发 我想用XMLHttpRequest 提交form里的数据到a.php,这个文件怎么得到这个数据啊? 请问PHP如何读取指定目录及其子目录下当天上传的所有文件. 菜鸟提问! 高人请进! PHP 如何测试服务器是否支持运行exe文件? shell_exec 不行 PHP5 socket_recv 求助
{if $smarty.section.customer.first}
<table>
{/if} <tr><td>{$smarty.section.customer.index} id:
{$custid[customer]}</td></tr> {if $smarty.section.customer.last}
</table>
{/if}
{/section}
多参看一下手册.