volist中的length属性不能用后台传过来的数据吗?

浏览:951 发布日期:2014/10/09 分类:求助交流 关键字: volist length
length='{$limit_articles}' 这里换成数字就不会报错//复制代码老是挡住我的代码
<volist name="articles" id="article" offset='0' length='{$limit_articles}' key='k'>
syntax error, unexpected '
错误位置
FILE: E:\RecordOfLearn\Web\www\MyBlog\ThinkPHP\Lib\Core\Think.class.php  LINE: 275
TRACE
[14-10-09 22:22:10] E:\RecordOfLearn\Web\www\MyBlog\ThinkPHP\Lib\Core\Think.class.php (275) halt(syntax error, unexpected '<' E:\RecordOfLearn\Web\www\MyBlog\Home\Runtime\Cache\7e4848229090366086cc7eeb3bfc0798.php 第 139 行.)
[14-10-09 22:22:10] E:\RecordOfLearn\Web\www\MyBlog\ThinkPHP\Lib\Core\Think.class.php (290) Think::appError(4, syntax error, unexpected '<', E:\RecordOfLearn\Web\www\MyBlog\Home\Runtime\Cache\7e4848229090366086cc7eeb3bfc0798.php, 139)
[14-10-09 22:22:10] () Think::fatalError()
最佳答案
评论( 相关
后面还有条评论,点击查看>>