Questions tagged as 'json'

3
answers

Show DB record without refresh [duplicate]

// esta é uma pagina separada, chamada adicionar_consulta.php <?php $conexao = new mysqli("localhost","root","","hospital"); if ($conexao->connect_errno) { echo "Failed to connect to MySQL: (" . $conexao->connect_errno . ") " . $co...
asked by 23.05.2017 / 16:53
1
answer

PHP does not receive Json POST

I'm trying to create a Send function via Ajax with pure JavaScript, but PHP does not receive the data. JavaScript is sending the data correctly. JavaScript code: this._data = JSON.stringify(data); Object.freeze(this); functi...
asked by 20.05.2017 / 12:44
0
answers

How to enter Weather Underground forecast icons

Good afternoon I'm trying to insert the Weather Underground icons but the icons do not appear in Python 3. Below I leave a part of the code. url = "http://api.wunderground.com/api/api_Key/forecast/lang:PT/q/PT/Lisbon.json" temp = urllib.re...
asked by 20.05.2017 / 18:10
0
answers

Error sending email with PHP, Ajax and JSON

I have a simple form in PHP where the request is made through a JavaScrit with ajax that calls the PHP file and returns a response in JON. But the answer I have is always negative, according to the tests I'm doing it seems to me something with t...
asked by 28.05.2017 / 00:28
0
answers

You can store a list in JSON file

I'm displaying data that is fetched from the database in some Dropdowns , as if it were some sort of shopping cart page for E-Commerce sites, right now my page looks like this: But I need to store this in a list every time the user c...
asked by 25.05.2017 / 18:48
0
answers

Query 3 tables using LINQ and return a Json object

How do I query the database between 3 tables using LINQ returning a JSON object following the Structure below? Public class PedidoGrupo{ int id ; string nome ; public virtual List<Pedido> pedidos ; } Public class Pedid...
asked by 25.05.2017 / 21:51
1
answer

Press virtual keyboard buttons according to password

I made a virtual keyboard that generates the numbers and returns in json, for example: [0] => Array ( [a] => 1 [b] => 5 ) [1] => Array...
asked by 16.05.2017 / 04:33
2
answers

get json data in url and play inside a textbox in c #

Good afternoon how do I get the data from a url that is in json format and play inside my textbox? Thank you     
asked by 16.05.2017 / 17:20
1
answer

Post via Json getstring error

I have a code that should do a "Post" via json, but edittext is not converting to String, and there is no error in logcat .. Anyone have an idea of the error? It must be stupid, I apologize, but I'm new on android. public class PostTeste exten...
asked by 12.05.2017 / 19:49
1
answer

Find data in an array if a specific data exists in another

My question is: I have 2 arrays : teste [ id: 20, campo: nada etc, id: 30, campo: nada etc, ] teste 2 [ id: 12, nome: maria, etc, id: 30, nome: j...
asked by 05.05.2017 / 20:10