CodeIgniter Forums
Array Within an Array - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Array Within an Array (/thread-23569.html)



Array Within an Array - El Forum - 10-14-2009

[eluser]ShoeLace1291[/eluser]
I'm using implode to return the value of an array that's set by a multiple drop down selection. When I return it, I get an error saying "Fatal error: [] operator not supported for strings in /home/srchdev/srchdev.justinlosh.com/system/libraries/Upload.php on line 842"

$categories = implode(',', $_POST['categories']);