CodeIgniter Forums
Array Within an Array - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Array Within an Array (/thread-23569.html)

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

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/ on line 842"

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