Home  >  Article  >  Backend Development  >  为什么打印不出来

为什么打印不出来

WBOY
WBOYOriginal
2016-06-13 12:20:111028browse

为啥打印不出来

本帖最后由 tp_2015_1 于 2015-05-22 18:03:51 编辑 //页面输出
Tpl::output('index_sign','brand');
Model('seo')->type('brand')->show();
                //echo "/////////";
$tl=Tpl::showpage('brand');
                var_dump($tl);
                //echo "@@@@@@@@@@@@@@@@@@@";
上面红色代码是我试图打印出该模板的路径,但是结果是没有出来,不知为啥.当然我也知道方法肯定有问题,不知问题出在哪,正确的方法是啥
------解决思路----------------------
你怎么知道 Tpl::showpage('brand') 有返回值的?看了 showpage 的说明或源码了吗?
Statement:
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