I mean i using cakephp 2.1, my bad. But my problem is that i can't access
the information coming from the file field call "Imagen", i tried to used
"$this->request->data" or $this->params(), but still can't access the
information. Any suggestions?
On Tuesday, October 9, 2012 11:29:23 PM UTC-5, Angelo Ortiz wrote:
>
> Hi everyone;
>
> I am trying to add new information from my view and send it back to my
> controller, but the new fields are not added to the $data array, here is my
> code;
>
> On my controller
>
> $this->request->data = $this->VirtuemartProduct->read();
>
> on my view
>
> i tried to add new information echo $this->Form->input('Imagen',
> array('type'=>'file')); but when i upload the file, i am not being able to
> see the this new field.
>
> It is important to say that the "imagen" field is not on model and not on
> database, i just want to add this field so i can upload the file into a
> directory.
>
> Any suggestion on what may be happing?, by the way i am using cakephp 3.
> Thank you
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en.