I can post my code ;)
On May 7, 11:32 pm, Nate Abele wrote:
> Can you show us an array dump of $channel_list, and the final output
> of the $javascript->object() call?
>
> On May 7, 6:55 am, JAVAddicted wrote:
>
> > I'm trying to convert a php array into a js
I'm trying to convert a php array into a json-friendly format but the
following code doesn't output anything:
### Controller:
layout = "ajax"; //make cake use the ajax layout
$channelArray = array(); //this will hold our data from the
database.
$count = $this->C