How to pass an array to a controller?

#1
[eluser]gminuses[/eluser]
I'd like to pass an array as a parameter to my controller, the parameters number is unknown, but the last one is the array I want to pass in.

So how do I write the url?

I'm looking for something like:
http://localhost/mycontroller/myaction/param1/param2/.../arrVal1+arrVal2+arrVal3

that codeigniter will convert the last parameter into an array.

Is it possible? Thanks.


Messages In This Thread
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:14 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:22 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:24 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:40 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:55 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 02:54 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:07 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:09 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:13 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:15 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:23 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:38 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 08:02 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 06:39 PM
How to pass an array to a controller? - by El Forum - 10-22-2009, 12:40 AM
How to pass an array to a controller? - by El Forum - 10-22-2009, 12:48 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.