On 07/05/09 3:55 AM, JAVAddicted wrote:
>
> I'm trying to convert a php array into a json-friendly format but the
> following code doesn't output anything:
...are you sure you aren't getting an error somewhere? Is debug set to 0
in core.php?
I'm doing something similar, implementing a service t
Oops, I discovered that I should have put this line in the
app_controller.php file:
var $helpers = array("Html", "Javascript");
It's working now, thank you guys !
Why am I using this, because i wanted to paginate data with Yahoo User
Interface's DataSource,
I found a tutorial in the web but it's
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 json-friendly format but the
> following code doesn't output anything:
>
> ### Controller:
>
> class ChannelsC
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