Hello, I have the following function to read DB data mysql.
Here I call - >
$clientes = DBRead('clientes', null, 'nome, telefone1');
Here I display - >
echo $nam = json_encode($clientes);
Result:
[
{
"nome":"Davi",...
I wanted to calculate the time now with what I get from a string like this:
2016-04-16T15:55:53Z
But the time is three hours higher than our spindle, I wanted some output like:
Já se decorreu 0 horas, 0 minutos e 0 segundos...
I am creating a chart using Chart.js and PHP, I would like the value to come from an array in PHP with the index of a JS variable.
This is the code I tried to do.
<script type="text/javascript">
var ctx = document.getElementById("piecha...
I need to make a FOR with getJSON file. How is the form correct?
selectOcorrencias = $.getJSON("http://izicondominios.com.br/appOperacoes.php?operacao=selectOcorrencias&condominioID=2");
for (seOcor in selectOcorrencias){...
I have an Angular app that uses the Maps API to fetch latitude and longitude, but I can not get latitude and longitude separately.
My application works as follows, the user types the zip code and the system using the ViaCEP API loads all data...
I need to mount a json as follows:
[
{"SUPERMECADO 1": {"telefones": [ "1999999999","1999999991"]} },
{"SUPERMECADO 2": {"telefones": [ "1999999992","1999999993"]} }
]
But currently my SQL is returning a array like...
Good afternoon,
The return of Json brings the badly formatted date="/ Date (1420077600000) /", how to deal?
{"TB1":1,"DTADMISSAO":"\/Date(1420077600000)\/"}
ThisisthesectionwhereIsettheDatefield:$.ajax({url:"ObterFuncionario",...
I'm putting together a table with the JS framework DataTables
I process the data via Server-side through JSON
In the first column I would like to display a photo, the name of this photo comes via JSON.
How to do it?
Example of...
Direct question: What is the best way to save a JSON file locally and how to do it?
Details: I have a web application that receives user data using the Facebook API (Javascript SDK), I need to save this data to a JSON file locally. After sa...
I have the following codes
Default.aspx
<script type="text/javascript">
/* Relógio */
function startTime() {
$.ajax({
type: 'POST',
url: 'Default.aspx/GetNetworkTime',...