Hi all, Oops I found the answer, I guess you find it in $this->params['pass']
Steven On Mar 7, 11:25 am, "Steven Chan" <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to use HtmlHelper::link() to create a cake url with key-value > pairs of GET variables. So I can access the $this->params['url']. I > used this code: > > $html->link($country,array( > 'controller' => 'PibProfiles', > 'action' => 'listAll', > 'country' => $country > )); > > But I don't get /PibProfiles/listAll?country=$country, I get / > PibProfiles/listAll/country:$country > > Does anyone know how I can produce what I want? Or is there an > alternative way to access GET variables when in the form of / > PibProfiles/listAll/country:$country? > > Thanks > > Steven --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
