开发者

HTML Codes in CakePHP $html->link function

This code

 $html->link(" »", '/events/view/'.$event['Event']['id']), array('escape'=>false,'class'=>'more') )

Outputs

开发者_如何转开发
<a href="/events/view/4"> &amp;raquo;</a>

instead of >>

Any idea?


basically you have syntax error instead you should have:

$this->Html->link(" &raquo;", '/events/view/'.$event['Event']['id'], array('escape'=>false,'class'=>'more') );

At least that's what I see.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜