I need help....

I just wanto to show an image inside a button....my code:


<?php echo $form->submit('Accept') ?>

I try this code, but is not correcto:
<?php echo $form->submit('Accept', array('src'=>$this->'webroot.img/
img_tick.png')); ?>

Any idea?

Thank you very much!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to