Monday, November 30, 2009

Re: Form submit with image problem

Have you thought about doing this with CSS?

On Nov 30, 8:12 pm, Al <al.scheur...@gmail.com> 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 cake-php@googlegroups.com
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?hl=en

No comments: