CodeIgniter Forums
form_multiselect() with name of channel_templates['. $k .'][] not posting an array - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: form_multiselect() with name of channel_templates['. $k .'][] not posting an array (/showthread.php?tid=31537)



form_multiselect() with name of channel_templates['. $k .'][] not posting an array - El Forum - 06-23-2010

[eluser]litzinger[/eluser]
As the title says, I'm using the form_multiselect() option to print a series of multi-selects in an ExpressionEngine extension. I'm looping over an array, so each name is printed as such:

Code:
name="channel_templates[0][]"
name="channel_templates[1][]"
name="channel_templates[2][]"

These are not posting as arrays, what am I doing wrong?

Thanks