select - Cakephp: passing multiple selectbox options in the url -
i'm stuck again. need pass search form variable in url (get). if make dropdown in form multiple select dropdown, cant seem pass array of selections.
when paas argument url looks this: http://localhost/cakephp/applicants/index/search.experiences:array
and in controller, try access this: $keywords = $this->passedargs['search.experiences'];
i'm not convinced actual array id being passed url, looks it's word 'array' gets passed.
is there way can this?
thanks, vauneen
one way implode
search.experiences
on comma , then, in controller explode
on comma access data.
Comments
Post a Comment