First, it should be POST... then you need to take a look at the way
the form helper names the fields.

And if you don't want to do any of that take a look at pr($this-
>params);

On Nov 5, 2:58 pm, Nic <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I have tried to save some data from a non cakephp form and it has been
> impossible, how can I do that? Currently I have a javascript file and
> I'm creating an URL like 
> this:http://localhost/articulosXml/add/name:testName/description:testDescr...,
> but when I use cakephp to retrieve the info "if (!empty($this->data))
> {" is empty... why is empty? why I can't retrieve the GET
> parametes???? what I'm doing wrong?. Even when I create a form with
> "action=GET" it does not work, $this->data is still empty. Only when I
> use the action=POST method it works, but I need to send the parametes
> via GET because the HTTP request is via the javascript file.
>
> Thanks for ur atention.
>
> Nic
--~--~---------~--~----~------------~-------~--~----~
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