This is the syntax to produce what you want:

<?php echo $form->submit('edit.jpg'); ?>

On Mon, 2009-11-30 at 12:12 -0800, Al wrote:
> Hi,
> 
>   <?php echo $form->submit('Edit', array('edit.jpg')); ?>
> 
> Should the code above produce a submit button with my edit.jpg
> (located in webroot/img) ?
> 
> I've tried this a couple of ways and check the API but even that seems
> jacked up as it has the same information for both fields:
> http://api.cakephp.org/class/form-helper#method-FormHelpersubmit
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> 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


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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