How do i take a php array
$arr = (('date'=>'03-22-2012', 'count'=>1000 ), ('date'=>'03-23-2011', 'count'=>1170 ));
and convert it to:
var arr = [['03-22-2012', 1000], ['03-23-2011', 1170]]
usable by a javascript function?
is there an easy way to do this?