Here's the JSON input: http://pastebin.com/xGWtWb5P
I do a json_decode
Code: [Select]
But instead of dots for GPS coords it outputs commas... O_O
Original: LAT 41.917866942 LONG 12.873182618
json_decode: LAT 41,917866942 LONG 12,873182618
It's not htmlentities fault, I tried disabling it and it still outputs commas.
I do a json_decode
<?php <a target="_blank" style="color:darkgrey" rel="nofollow" href="http://maps.google.com/maps?q='.htmlentities($value->location->latitude).',+'.htmlentities($value->location->longitude).'">mappa</a> ?>But instead of dots for GPS coords it outputs commas... O_O
Original: LAT 41.917866942 LONG 12.873182618
json_decode: LAT 41,917866942 LONG 12,873182618
It's not htmlentities fault, I tried disabling it and it still outputs commas.




