2009年4月29日星期三

Re: [fw-mvc] How do I customize the escape() function for HTML rendering?

On 29 Apr 2009, at 09:58, bentobenji wrote:

> You can see in index.phml in the first bit of code above that I'm
> using the
> escape function. I tried removing it and it gives me an error message.

What error message do you get?

foreach($this->text as $text) :
if ($text->page == $this->id) {
$page_id = $text->page;
$content1 = $text->content1;
$content2 = $text->content2;
}
endforeach;


should work fine.

Regards,

Rob...

没有评论: