smarty循环的问题 {section name=lid loop=$brand_list} <tr> <td><input type="checkbox" id="input_brand_id_{$brand_list[lid].id}" name="brand_id[]" value="{$brand_list[lid].id}" />{$brand_list[lid].name}</td> </tr> {/section}我想它每遍历10次就换一行,而不是遍历一次就换一行。请问该如何做? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这个是循环的次数 {$smarty.section.lid.index}你用tr 每一次都会自动换行的 LOOP<tr>$change=$key%10;IF ($change!=0){</tr>}/LOOP Linux Php 运行权限的问题 mysql 链接问题 mysql_fetch_row apache不支持PHP 大家有没有用PDO做开发啊 php5出现:using $this when not in object 菜鸟的又一个问题,希望这次不会太菜^_^ 本人正在开发的论坛式知识管理程序,分值大放送! 刚接触PHP,请问一下这段代码是代表密码错误还是不存在此用户?? ★★★★★shtml文件是怎么生成的的? 怎么给textarea和<input type="file" name="att">赋初始值 用php操作access的问题 PHP数值传递问题
你用tr 每一次都会自动换行的
<tr>
$change=$key%10;
IF ($change!=0){
</tr>
}
/LOOP