424,298 Members | 1,964 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,298 IT Pros & Developers. It's quick & easy.

How to pass array as parameter to controller action?

P: 103
How to pass array as parameter to controller action using Symfony 2? Could you please write an example how to define route, which contains unknown length array as a parameter. For instance url: http://localhost:8000/blog/post/?tags=[tag1,tag2,tag3] where number of tags varies from 0 to 100.
Also example controller for this route, where action returns values of tags array.
Nov 9 '15 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.