On Nov 28, 2007 3:18 PM, Bruno <[EMAIL PROTECTED]> wrote:
>
> I have a link in a view with a get request :
>
> $html->link("upload", "/posts/upload?userid={$output['User']['id']}),
>
> In the upload function of the controller post I need to retrieve the
> parameter named "userid".
>
> How to do easy ?

You can access it in your controller like this:

$this->params['userid']

Hope that helps.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to