hi,
thanks,

On Jan 20, 11:55 pm, cricket <zijn.digi...@gmail.com> wrote:
> On Thu, Jan 20, 2011 at 3:26 AM, andy_the ultimate baker
>
> <anandghaywankar...@gmail.com> wrote:
> > this is my view
> > what changes should i do with this?
>
> It looks like you're using an old syntax. I think it may have been
> deprecated. Not sure, but use dot notation instead.
>
>  echo $form->label('Image.images', 'Image:' );
>  echo $form->file('Image.filedata');
>
> However, that's still not quite correct. If the label corresponds to
> the file input, you should be passing its field name:
>
>  echo $form->label('Image.filedata', 'Image:' );
>
> If you still have problems, try debugging the data. Set debug to 2 in
> core.php and put this immediately before the call to cleanUpFields():
>
> die(debug($this->data));

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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

Reply via email to