Skip to content
Advertisement

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 info must be added on the

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 so: A relevant

Live updating chart with data from database with Chart.js

I’ve been having some trouble with Chart.js. I’m making a voting system that I want to dynamically update for the user to see. Kind of like strawpoll websites. When the user submits a vote, the results page will automatically update to the new vote count. I’ve been searching for an answer to this, and I feel like I’ve gotten halfway.

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 change marker color depending on

Advertisement