I researched this subject many times but I could not find the right answer to my question. Let me explain it.
I\'m creating an app with the Google Maps API where I want
The examples on http://us1.php.net/json_encode should be helpful. It looks like your $post should be an associative array:
$post[] = ("name"=>"test","lat"=>52.351753, "lon"=> 5.002035); ?> var bedrijven = ;
outputs:
var bedrijven = [{"name":"test","lat":52.351753,"lon":5.002035}];