Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

April 28, 2010


$html->link with html or image in CakePHP 1.2/1.3

Today i was working with $html->link in CakePHP 1.3. I need to show image and make a link on that image. If i use the $html->link and place the $html->img for link label than it display img html tag text and not showing the image. You can do it by defining escape to false. But syntax for defining 'escape'=>flase in CakePHP 1.3 is different.