> Try: <?php echo $form->submit('/path/to/image.png'); ?>
If the button image file is in your /webroot/img/ directory, you can
just use the image file name:
<?php echo $form->submit('my-button.gif') ?>
See more in the API docs:
http://api.cakephp.org/1.2/class_form_helper.html#c3d45721c052080f91b4179c52db8bad.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---