CodeIgniter Forums

Full Version: Array Within an Array
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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']);