In the old days, if I needed to get a PHP array through an URL, I
could just do it. But now, I use Symfony to build websites. I tried to
get this through url_for():

url_for('content/search?uva_status[]=Undergrad student&uva_status[]
=Undergrad student')

I got this:

test_dev.php/content/search/uva_status[]/Undergrad+student/
amp;uva_status[]/Undergrad+student

Clearly, that doesn't work.

So if I need one variable to hold several values what I should I do?
Is there a way to get a PHP array through an URL when using Symfony?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to