http://wiki.cakephp.org/docs:controller:params should help :)

Alternatively you can setup your routing to pass arguments to the
index() method ....



On 9/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> i have a table in the database called "input" and an index-page, where
> the controller looks like that:
>
> function index()
>    {
>       if (!empty($this->data['Input']))
>        {
>            if($this->Input->save($this->data['Input']))
>            {
>                  $this->Session->setFlash('given Data saved');
>          $this->redirect('/users');
>            }
>        }
> }
>
> I get some values of variables with a query string
> ("http://127.0.0.1/index.php?value1=1&value2=2";).
> How can i save those values in the "input"-table of the database. The
> only way to save things i found, was with the use of forms.
>
> Thanks
>
> Felix
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to