为啥打印不出来

WBOY
Release: 2016-06-23 13:34:11
Original
1056 people have browsed it

//页面输出
Tpl::output('index_sign','brand');
Model('seo')->type('brand')->show();
                //echo "/////////";
$tl=Tpl::showpage('brand');
                 var_dump($tl);
                //echo "@@@@@@@@@@@@@@@@@@@";
上面红色代码是我试图打印出该模板的路径,但是结果是没有出来,不知为啥.当然我也知道方法肯定有问题,不知问题出在哪,正确的方法是啥


回复讨论(解决方案)

你怎么知道 Tpl::showpage('brand') 有返回值的?看了 showpage 的说明或源码了吗?

你怎么知道 Tpl::showpage('brand') 有返回值的?看了 showpage 的说明或源码了吗?


确实让我晃然大悟,没有返回值
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