Questions tagged as 'json'

0
answers

Searching for PHP data by Ajax

I have a Ajax script here that its function is as follows. I have a news system, which when clicking on the title will open a modal and display the data of the news (title, text, author) .. however I do not know what to put in PHP .. This is...
asked by 14.05.2016 / 18:29
0
answers

Error php to get data from a certain area of a site

Good night I have a code in php to get the data of a certain page, I use the initial model and it works I'm trying to use it in another site like this one in the model but it gives an error:    E_NOTICE: type 8 - Undefined offset: 3 - at line...
asked by 19.03.2016 / 04:18
1
answer

How to get a certain variable json

<script type="text/javascript"> $(".addTrack").live('click', function() { $('.playerTocador').css('display', 'block'); var mp31 = $(this).attr("data-servidor"); var session = $(this).attr("data-session"); //$('.terra').load(...
asked by 28.03.2016 / 17:59
0
answers

Adapt code to json url from google maps

I followed the code that was in the first comment Link to this comment worked fine but when I tried instead of passing json from wikipedia google json google maps no longer appear results I think the error is in the input input = "input=...
asked by 23.03.2016 / 17:58
1
answer

UITableViewController with Swift and JSON Displaying repeated values

I'm having trouble popularizing my UITableView with JSON . I separated some pictures to show the problem. Note that in the first% w_ of% repeated values appear and in the next shows the same value. First Table : SecondTable:...
asked by 13.04.2016 / 22:42
0
answers

Select2 does not select

Using the select2 plugin via json I can not select any results. When you select it it does not display the result. Am I doing something wrong? $(".PessoaTipo").select2({ language: "pt-BR", placeholder: "Pessoa T...
asked by 29.02.2016 / 02:39
1
answer

Json misconfigures when requesting via angular http

I'm doing an add-on for Firefox and this is powered by json that comes from an ajax request, which I do via http's get method. When I print json by calling the direct address on the screen, it normally displays, but when I make the request fr...
asked by 26.04.2016 / 02:38
1
answer

XML returning strange characters

I manage a code in Php that requests data from the server as a "changelog" from a game server. But in the changelog XML returns strange values. For example, in the words "creation" the result is " creation " or "you" the result is "you! "...
asked by 26.04.2016 / 03:10
3
answers

Convert object to json in php

I'm trying to create a class that saves objects of type Conta to a json file, however, when saving the file, the object information is not saved, just this:    [[], {}] My class that is reading and saving in json is: class JSONCu...
asked by 10.11.2015 / 18:13
0
answers

Problems with AutoCompleteTextView [closed]

I'm first using AutoCompleteTextView with Json that goes through the google streets. It works fine until the moment I click on the street and I get imagined that I click on the street "Stackoverflow.com Street" in my AutoCompleteTextVie...
asked by 23.03.2016 / 11:27