Re: Cake replace my special chars

2008-09-20 Thread kicaj
Thanks a lot! On 20 Wrz, 11:37, Günther Theilen <[EMAIL PROTECTED]> wrote: > $form->input('category_id', array( >    'options' => $categoriesList, >    'escape' => false > )); > > Regards > Guenther --~--~-~--~~~---~--~~ You received this message because you are su

Re: Cake replace my special chars

2008-09-20 Thread Günther Theilen
Hi, kicaj wrote: > ...in view: > $form->input('category_id', array('options'=>$categoriesList)); try this: $form->input('category_id', array( 'options' => $categoriesList, 'escape' => false )); Regards Guenther --~--~-~--~~~---~--~~ You received this mes

Cake replace my special chars

2008-09-19 Thread kicaj
Hi I use Tree behavior: $this->set('categoriesList', $this->Category->generateTreeList(null, "{n}.Category.id", "{n}.Category.name", " ")); ...in view: $form->input('category_id', array('options'=>$categoriesList)); ...and i get this in my browser: My Categories  Fun   Sport &nb