use 3rd parameter in HtmlHelper::link method

$this->Html->link('yourdisplayname', yourlinkarray, array('escape' =>
false));

--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/8/16 Jiří Vávrů <[email protected]>

> Hello,
> I need to insert dynamicaly text into link.
> I tried this solution, but is not working.
>
> What I do wrong?
>
> <?php $title1 = $results[0]['news']['subject'];?>
>    <td colspan="2" class="subject"><?php echo $this->Html-
> >link("<b>"."$title1"."</b>"), array('action' => 'viewNews',$results[0]
> ['news']['id']));?></td>
>
> Thanks for any advice
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to