程序运行没有问题,却提示:Notice: function call 'register_function' is unknown or deprecated. in E:\webphp\Smarty\sysplugins\smarty_internal_wrapper.php on line 57
这里为注册函数 $smarty->register_function('list','format_data');找的其它资料说这是smarty2.0的特性,我现在用的是3.0,这个问题怎么解决,请高手指点。
这里为注册函数 $smarty->register_function('list','format_data');找的其它资料说这是smarty2.0的特性,我现在用的是3.0,这个问题怎么解决,请高手指点。
要在 smarty/libs/plugins 下新建文件名方法
参考地址 http://www.gxcxy.com/thread-5259-1-1.html
您可以看看
@$smarty->register_function('list','format_data');
技术支持:http://www.net920.cn http://www.ahthink.com