Home > Backend Development > PHP Tutorial > zend framework 模板语法有关问题

zend framework 模板语法有关问题

WBOY
Release: 2016-06-13 13:47:06
Original
962 people have browsed it

zend framework 模板语法问题
=$this->url(array('model'=>'bug','controller'=>'index','action'=>'index','search'=>'trending'),'bug',true)?>

在本地可以解释,但放到服务器上就会原样输出
 
要改成
url(array('model'=>'bug','controller'=>'index','action'=>'index','search'=>'trending'),'bug',true)?>

才会解释。

为什么呢



------解决方案--------------------
短标签没有开启

short_open_tag

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