由PHP程序指定,模板中的{section}或是{foreach}只告诉.php这里是一个循环块.
解决方案 »
- 急! php 访问远程wsdl文件总是错误,寻求帮助,谢谢.
- 伪静态页面怎么看它的动态地址
- zend studio中browser output中文乱码
- 跪求,PHP如何连接到Lotus notes中取数据,和利用PHP发邮件(在Lotus notes邮件服务器)
- mail()与smtp服务器
- 如何用一句语句将mysql里的int字段里的时间转换成datetime"22008-8-8 12:00"这样子呢
- php中,如何将mysql中的数据导入到csv中,并且中文不出现乱码,如能提供原码,不胜感激!
- 请问 如何判断一个数组为空?
- Red Hat Enterprise Linux下应该装哪个版本的zendoptimizer(PHP4.3.2)
- 关于fopen打开url,急
- 时间问题 急
- 如何获取来访者的页面?
{* this example will print out all the values of the $custid array *}
{section name=customer loop=$custid}
id: {$custid[customer]}<br>
{/section}OUTPUT:id: 1000<br>
id: 1001<br>
id: 1002<br>{* this example will print out all the values of the $custid array *}
{foreach from=$custid item=curr_id}
id: {$curr_id}<br>
{/foreach}OUTPUT:id: 1000<br>
id: 1001<br>
id: 1002<br>