I want to create a link like this:

<a href="/contents/../" alt="Home">&nbsp;</a>

But if I use "<?php echo $html->link('&nbsp;', "../", array
('alt'=>'Home'))?>", it is giving this html:

<a href="/contents/../" alt="Home">&amp;nbsp;</a>

If i use "<?php echo $html->link(' ', "../", array('alt'=>'Home'))?>",
it is giving this html:

<a href="/contents/../" alt="Home"> </a>

where no link action is working.

How to solve this problem?
--~--~---------~--~----~------------~-------~--~----~
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