Friday, August 26, 2011

HTML ENTITIES

Hi,

http://www.quotesoftheday.co.in/famous-quotes/360/true-love-always-makes-a-man-better-no-matter-what-woman-inspires-it
You can find it here. Please check the author name. Why it is displaying like that?
If you are not able to load the link, This is the problem

Instead of displaying the proper text, it is displaying the entity of that text in link

<?php echo $html->link(
                    $author['name'], array(
                        'controller' => 'auts',
                        'action' => 'authors',
                        'name' => $author['name']
                    ),
                    array('title' => $author['name'])
                );
                ?>
When i try to add escape => false i lose the link and it displays the correct name

Thanks
Prabha

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: