Questions tagged as 'json'

0
answers

Filter in .json file parameters

I created an .json file using the following code: <?php function get_data(){ $connect = mysqli_connect("localhost", "root", "", "videos"); $query = "SELECT * FROM 'tb_indice'"; $result = mysqli_query($connect, $query); $data = array(); whi...
asked by 20.01.2018 / 18:36
1
answer

PHP is not returning the query data

Hello, I'm using the following code to return the regions: $query = 'SELECT * FROM Regiao'; $json = array(); $result = mysqli_query ($conn, $query); while($row = mysqli_fetch_array ($result)) { $regiao = array(...
asked by 20.01.2018 / 15:42
1
answer

Save data clicked on a JSON

I am creating a simple application in AngularJS, the application is summarized in 3 pages: Device: Where the person chooses the device Plans: Choose the plan related to the device Final file informing name, email, telephone and etc ......
asked by 22.01.2018 / 20:23
2
answers

How to read the JSON data sent by javascript in PHP

I want to pass a form via json to my php and then insert the data into the database. function enviaDados(form){ var dados = document.getElementById('form'); console.log(dados.categoria.value); $.ajax({ type: "POST",...
asked by 22.01.2018 / 19:00
0
answers

Deserialize JSON Delphi Library (lkJSON)

Does anyone have a clue how to deserialize this object with the ikJSON library? { "result": [{ "success": true, "rows": [{ "PROTOCOLO": "", "BARCODE": "", "HORA": "15:55:11" }],...
asked by 17.01.2018 / 00:24
1
answer

return function json object

I have a function in android that makes the connection to the server and returns me a json, that json is stored in a variable named object. But I have to make this object go to another screen via return but I'm not getting it. function...
asked by 24.01.2018 / 20:15
0
answers

ignore error 404 in volley

I'm working with the volley in android studio and I have to make a request from the server that returns me a json and a status of server 404 In the browser or postman, the json data is received successfully, but in android, the volley gives m...
asked by 24.01.2018 / 18:59
1
answer

Vue js and Axios does not identify API JSON response

// Get Pipelines const getPipelines = new Vue({ el: '#top-pipelines', data: { pipelines: [] }, mounted() { axios({ method: 'post', url: 'http:..xpto.../getpipelines',...
asked by 16.01.2018 / 14:37
0
answers

Ajax / JSON returning undefined

When doing an ajax request with return from JSON I'm getting undefined, while displaying the data in the console, I get the code from the php page. Can anyone help me to identify the error? Page: ranking.php <?php /** * Created by Php...
asked by 16.01.2018 / 15:54
1
answer

Import data into Firebase with JSON file

I'm having problems with importing data into firebase, I've converted an excel spreadsheet into csv and then converted it to a JSON file, the Firebase registration is done normally, but I'd like to know how to generate the keys with the data, ra...
asked by 11.01.2018 / 05:02