PHP - JSON_ENCODE - Remove quotes from value -
i using json_encode display data.
[{"name":"myname001","data":["[date.utc(1961, 1, 1),10]","[date.utc(1962, 1, 1),11]"},{"name":"myname002", "data":["[date.utc(1961, 1, 1),10]","[date.utc(1962, 1, 1),11]" ]]
how can remove double quotes values data?
[{"name":"myname001","data":[[date.utc(1961, 1, 1),10],[date.utc(1962, 1, 1),11]},{"name":"myname002", "data":[[date.utc(1961, 1, 1),10],[date.utc(1962, 1, 1),11] ]]
well, easy.
the situation: need bring number put highstock, , not bringing anything.
after did new array int numbers, way coming without double quotes.
i don't know why people give negative without ask why question.
closed.
Comments
Post a Comment