Yes thanks.
But only a little problems here.
The passed array is
$user = $this->getRequestParameter("users");
As I set the name of form field to be user[]...
but when I use http_build_query($user), it convert the array into
self_gender=1&search_gender=0&country_code=CA...
I can no longer access it by    $user = $this->getRequestParameter("users");

Any solution?


On Wed, Feb 4, 2009 at 2:12 PM, Tom Haskins-Vaughan <
t...@templestreetmedia.com> wrote:

>
> Is this what you mean:
>
> http://us2.php.net/manual/en/function.http-build-query.php
>
> xhe wrote:
> > I just forgot and can not find it.
> > I want to convert a long PHP array into post string, I remember a
> > function exist that can easily convert array to post string so that I
> > can pass to the next page. I need this in the paginator.
> >
> > Thanks
> >
> > >
> >
>
> --
> Tom Haskins-Vaughan
> Temple Street Media: Design and Development for the Web
> t...@templestreetmedia.com | www.templestreetmedia.com
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to