Posts by Állan • 29 points
4 posts
-
1
votes1
answer373
viewsA: Json.parse does not convert to array
Problem solved as follows: $.post("query.php", {ano_ref: ano_base}, function(retorno){ // Decodificando JSON para object/array var dados = eval('(' + retorno.toString() + ')'); tratarDados(dados);…
-
0
votes1
answer373
viewsQ: Json.parse does not convert to array
Hello, I am a complete amateur in php and javascript and after a month of fighting with two languages I had never touched got here. I am trying to pass a JSON from a request back to array in my…
-
-1
votes1
answer549
viewsQ: Request ajax does not return what I want
I have a registration page with a form, the person type the year and click on the button to find the registration. With the typed year I have to make the request for PHP to execute the query, return…
-
2
votes1
answer527
viewsQ: How do select in postgres from an html field and use the return to fill in the other fields?
Basically I have no experience with html, php or javascrip and I’m trying to turn myself into what you ask me here. The problem is this: I have to make a registration page where the user selects a…