<?php echo $html->link(
                                        $html->image('cake.power.gif', 
array('alt'=> __("CakePHP: the
rapid development php framework", true), 'border'=>"0")),
                                        'http://www.cakephp.org/',
                                        array('target'=>'_blank'), null, false
                                );
                        ?>
The source is the default layout of cake.

On Apr 15, 10:58 am, aryan <[email protected]> wrote:
> How do put target="_blank" in the following code?
>
> <?php echo $html->image('image.gif', array('alt' => 'image', 'url' =>
> 'http://www.google.com'));?>
>
> Thanks!

--~--~---------~--~----~------------~-------~--~----~
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