This doesn't work for me in 1.3 RC3. Any ideas on how to pass an array to passedArgs in URL in Cake 1.3?
Johannes (Sorry if this message appeared twice, I can't see if it's been posted already.) On 29 mrt, 18:04, "toka...@gmail.com" <toka...@gmail.com> wrote: > I have solved it. pretty simple. > > examples.com/:controller/:action/? > names[]=John&names[]=Tomas&names[]=Susan > > then just call > $this->params['url'] to get your array 'names'. > > PS: you can also do nested arrays like names[0] > [email]=j...@example.com&names[1][email]=..... > > Tomas > > On 29 bře, 11:59, "toka...@gmail.com" <toka...@gmail.com> wrote: > > > Hi, is there a chance to pass simple array via URL? > > >http://example.com/name:John/name:Tom/name:Susan > > > Then I should recieve back my array of names .... array('John', > > 'Tom', 'Susan'); > > > Any idea how the URL should look like? > > > Thanks > > Tomas Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe, reply using "remove me" as the subject.