Skip to content

Tag: php

Uncaught ReferenceError: parameter_name is not defined

Uncaught ReferenceError: province_name is not defined I’m having this error and I don’t know why, because I have used the same steps with other methods and everything is ok. What I want to do is to pass a parameter on a onclick function in venta.php from venta.js, and when the btn is clicked the i…

How do I access a JSON array in JavaScript

I have a PHP script to which I make an Ajax request, and most of it works okay, but I’m having trouble accessing an array in the data returned to the JavaScript function. So, the PHP has a bunch of regular variables, and one array. The array, $places, has four elements, which each have three values, as …

Generate dynamic KML and load it with Maps API

Hi all i have task to create monitoring of 200 ip addresses and for each of this ip we have location latitude/longitude. Now for the monitoring purpose i have perl script runing which pings all 200hosts and update their status in MySql database. Now i want to display these 200 locations on google maps and cha…