Home > Backend Development > PHP Tutorial > Too few arguments 如何解决这有关问题

Too few arguments 如何解决这有关问题

WBOY
Release: 2016-06-13 12:57:39
Original
2688 people have browsed it

Too few arguments 怎么解决这问题
Too few arguments D:\website\xxx\application\libraries\Dpagination.php 116
去看这里的代码是 return sprintf ( $this->target, $id );跟一个分页类有关的
 上面的被注释了  
------解决方案--------------------
你的 $this->target 中 % 符号至少有两个,而你没有使用占位符。

可参照用法:
http://www.w3school.com.cn/php/func_string_sprintf.asp

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template