[ad_1]
Your way is to use json_encode function:
return json_encode(array('JSChart' => array(
'datasets' => array(
...
),
));
[ad_2]
solved How to create this type of JSON data from PHP [closed]
[ad_1]
Your way is to use json_encode function:
return json_encode(array('JSChart' => array(
'datasets' => array(
...
),
));
[ad_2]
solved How to create this type of JSON data from PHP [closed]