Set the last parameter of $html->link() to false to disable escaping
your link title:

http://api.cakephp.org/class_html_helper.html#71ff7f331b08318bc867a4d9057b7d9f

On Jul 8, 11:13 am, Valerio <[EMAIL PROTECTED]> wrote:
> Hi,
> I'd want print out this html:
>
> <a class="dock-item2" href="#"><span>Inserisci Ticket</span><img src="/
> CakePhp_Prova/img/dock/portfolio.png" alt="portfolio" /></a>
>
> using this cakephp code on view:
>
> echo $html->link("Inserisci Ticket" . $html->image('dock/
> portfolio.png',array("alt" => "portfolio")), "#",array( "class" =>
> "dock-item2"));
>
> The output now is:
>
> <a href="#"  class="dock-item2">Inserisci Ticket&lt;img src=&quot;/
> CakePhp_Prova/img/dock/portfolio.png&quot; alt=&quot;portfolio&quot; /
> &gt;</a>
>
> and the browser can't interpret it. How can I print out a browser
> interpretable string to display a linkable image???
>
> Thanks,
> Valerio.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to