syylr / thinkphp

Automatically exported from code.google.com/p/thinkphp
0 stars 0 forks source link

嵌套的volist有mod属性时执行不正确 #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
执行测试代码。

最外层volist按照手册描述的方法[1]输出偶数记录。最后输出��
�2,3,4,5条记录。

把volist换成以下php代码,执行正确
 <php>
    foreach($vo['fruits'] as $key=>$value)
        echo '<p>'.$key.':'.$value.'</p>'
 </php>

[1] http://doc.thinkphp.cn/manual/volist.html

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
3.0

Please provide any additional information below.

Original issue reported on code.google.com by kane.mx on 19 Apr 2012 at 10:13

Attachments: