Questions tagged as 'json'

2
answers

Go through JSON with JQuery [duplicated]

Good morning I'm using a Youtube API that returns the next JSON { "kind": "youtube#searchListResponse", "etag": "\"m2yskBQFythfE4irbTIeOgYYfBU/Ecs31oUVfbCGmEm5at5VxfPVF28\"", "nextPageToken": "CAUQAA", "regionCode": "MX", "pageInfo"...
asked by 04.05.2017 / 22:14
1
answer

Returns me undefined

Good, I have a form that through AJAX and PHP I make a query to my BD to return some of the data, the problem is that it returns undefined when I try to paint in query a data of the JSON array, I have looked at the debug of the browser and in PH...
asked by 05.05.2017 / 09:27
2
answers

get label property of a json with getJSON and each

I'm wanting to get the label item of this json and I can not get the list out empty or undefined, I think it's a mulitidimentional array and it's missing one more level, I can not build the correct code it's what I need help with this thanks....
asked by 15.03.2017 / 00:24
1
answer

Create a JSON from a MySQL query?

function connectDB(){ $conexion = mysqli_connect("servidor", "usuario", "contraseña", "base de datos"); if($conexion){ echo 'La conexión de la base de datos se ha hecho satisfactoriamente '; }else{ echo 'Ha sucedido un...
asked by 01.02.2017 / 20:38
1
answer

Read json from jquery

When wanting to access the value of the title of the next json With the statement json.message.tittle I'm getting an undefined. How could I take the tittle value?     
asked by 23.02.2017 / 20:17
1
answer

Get results from a json using javascript

Good morning, thank you. I'm looking for a way to get the urls of this json : { "kind": "blogger#postList", "nextPageToken": "CgkIChjB-J3Q_isQ1vfW0eSImIxF", "items": [ { "kind": "blogger#post", "id": "xxxxxxxxxxxxxxxxxx", "blog"...
asked by 28.11.2017 / 19:22
1
answer

Ajax JSON response with HTTPS protocol

Recently I installed a web application and it works correctly, absolutely everything, the problem is that when I install an SSL certificate, and place it in HTTPS protocol, the ajax functions that return a JSON type response give me an error, an...
asked by 10.03.2017 / 16:58
3
answers

Is it possible to select all the fields in a database except a few?

I've been searching and I can not find it, but I've found that in a mysql query, I need to select almost all the content minus 3 elements, the point is that there are almost 20 columns. I know that php can not show those fields, but the output i...
asked by 04.11.2016 / 17:43
1
answer

How to control the responses of http requests with angularjs

I would like to know how to handle exceptions in angularjs. What artifacts can I use or how to implement error handling. I have the following code: This is an example of my JSON. Now what I would like to validate is if the list "listProduc...
asked by 20.06.2016 / 22:08
1
answer

TypeError: string indices must be integers - Saving data from a JSON to the database

I have the following situation: The model RehabilitationSession in addition to other data these fields of interest: class RehabilitationSession(models.Model): ... minimum = models.DecimalField( max_digits=5,d...
asked by 17.11.2016 / 03:13