Questions tagged as 'json'

2
answers

How to query DB without refresh and write the returned data?

I need to query my database with something like AJAX / JSON I'm not sure and return the result inside a div next to this # . div is already on the side to receive the result of the query. I'm not sure how I can start doing th...
asked by 28.10.2014 / 22:06
1
answer

WebService almost 100% (rest / json)

I have a problem that I can not solve T_T, after many searches I created a webservice (test), to be consumed by an android application. The only function of it is to return a String, but I do not know why it does not work, because the String...
asked by 27.07.2014 / 16:59
1
answer

Return jSON to a variable

I have a PHP code that creates a jSON: <?php $array3 = array(array('0,1300', 'Thalita', 'Nicole')); echo json_encode($array3); ?> And I have another code that is in jQuery that forms a graphic, with the following settings: var d1...
asked by 13.07.2014 / 20:49
1
answer

Populating DIV after selecting a die from the list

Can anyone help me with this code? I assume that I do not understand about 80%, I am trying to pop the INFO div after selecting one of the options in the SELECT field, this information will be relative to the selected option, the information reg...
asked by 30.05.2014 / 05:06
1
answer

NaN sInfo _TOTAL_ dataTable jquery / JSON

I have a problem in return of JSON in the variable TOTAL that returns NaN is strange because the problem was in the END variable I removed and added END again and returned to normal but, started the NaN in the TOTAL variable. Can anyone...
asked by 28.05.2014 / 19:30
1
answer

Inquiry $ .get json and show result

I am sending an array to a query in a MySQL database via $ .getJSON and in php I am putting a table, but I am not able to return and display this table, how can I do that? My code that sends the parameters looks like this: // Grava...
asked by 01.07.2014 / 18:31
1
answer

I do not get anything from php on android

Good afternoon, I have a problem. I get to fetch the information all I have in the table, but when I change the code so that the information of a certain error person appears to me and returns no value value for the android. I'm new to android s...
asked by 11.07.2014 / 16:47
2
answers

How to get a json on an external server with Javascript?

Hello everyone, I need to get a json with javascript on an external server! Does anyone know how to do this?     
asked by 26.03.2014 / 15:47
2
answers

How to decode a JSON array [{}, {}] on my android

How do I transform this string into an array on my Android so that I can manipulate it? [{"id":"1","login":"Admin","senha":"Admin","nome":"Admin","msg":"Eba","logado":"0"}, {"id":"7","login":"Daniel","senha":"1234","nome":"Daniel","msg":"","...
asked by 20.05.2014 / 18:17
1
answer

Searching for data in JSON file

I need to get data in JSON, display it and search, so I developed this code, but I'm having trouble putting this data in an external file. How can I put this JSON in an external file, keeping the same current structure without using Jquery?...
asked by 28.12.2018 / 19:02