The following Activity gets the data of a file in PHP that generates a JSON with the data obtained from MYSQL , I am new in this JAVA ANDROID , and I have little experience in PHP , I barely defend myself,...
I'm having trouble accessing a specific value of a variable that returns a JSON in PHP.
My code is as follows:
//Llama el SP
$sql="CALL tramites_G(".$valuesInsert.")";
$resultado = mysqli_query($database,$sql);
if (!$resu...
What happens is that I want to read a JSON file and that as soon as I read it, I created a table from the file with its respective fields.
As for example:
{
"nombre":"Ana",
"edad":20,
"Hobbie":"Cantar" }
And the table is created:
Name Age H...
My problem is the following, I bring a json from my api , the same I pass it to a JSONArray the topic this is that I want to arm a Array<Especialidad> and I do not know how to do it.
Specialty_connect
public...
Good morning.
I have this query because I am too new programming in Android Studio and I do not know where to go.
I have a listView that I load with data from a database that I have on my PC and I obtain the data by a php file. That's ok, the...
Greetings to all, I have the following JavaScript code:
var Lista=[];
$.getJSON("php/consultas/TraerDatos.php", function( data ) {
$.each(data, function(id,value){
var elemento = {
'Proyecto':''+value['Pro...
I need to store data in an array that is inside a json, that is, I will have several users that will have data
let nombresUsuarios={
datos:[{nombre :''},
{acierto:''},
{fallo :''}]...
I'm connecting to my database, but I do not want to show the result in the template of the page but to generate a file .json .
The PHP code I use is:
<?php
$sql = "SELECT * FROM AttributeKeys WHERE atID = 1";
function connectDB()...
I have a problem with a data request with json from a form that shows me this error: Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at XMLHttpRequest.xhr.onload (form.js: 52)
What could be due? Thanks
the model-ad...