JSON array

Hi Guys,

i need help with the json for the phpvms live map, this is the exmple code

[{“flightnum”:“IV7050”,“deptime”:“2016-06-01 16:47:00”,“arrtime”:“17:01:39”,“gs”:“397”,“alt”:“26955”,“lat”:“41.340347359635”,“lng”:“-72.46185414378”,“phasedetail”:“Climbing”,“timeremaining”:“07:45:00”,“online”:“No”,“depicao”:“KJFK”,“arricao”:“LFPO”,“heading”:“68”,“distremain”:“3080”,“aircraftname”:“B747-400”,

_ “zone”: " [{“Latitude”:34.647995,“Longitude”:-86.738549}] " , _

“code”:“IV”,“pilotid”:“IV0018”,“firstname”:“Mattia”,“lastname”:“test”,“deplat”:“40.6398”,“deplng”:“-73.7789”,“arrlat”:“48.7253”,“arrlng”:“2.35944”,“route_details”:[],“percomplete”:2.32,“distremaining”:“3080”,“pilotname”:“Mattia”}]

I have added a field called “zone” but how to remove the double quotes (marked in red) only for this field??

please help me

Thanks

Mattia

wich function do you use to get these results ?

Depends what you want to do with it

wich function do you use to get these results ?

Agreed, would like to know also.

And what do you plan on using this for?

(this maybe? )

i have solved the problem by using json_decode before insert data in array.

now have this problem: