Ranjana, are you using Cake 1.1? That looks like the older syntax. If 1.2, then use what mscdex stated.
On Thu, Apr 2, 2009 at 8:28 PM, mscdex <[email protected]> wrote: > > On Apr 2, 4:29 pm, Ranjana Sriavastava <[email protected]> wrote: >> <?php e($form->file('Cele/cele_image', array('class' => 'fullwidth'))); ?> >> >> <?php echo $html->file('Cele/cele_image'');?> >> >> use both but its not save >> > > The second one form should be $form->file (not $html->file), but also > you should be using "Cele.cele_image" instead of "Cele/cele_image." > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
