Questions tagged as 'php'

1
answer

when using AJAX, can I send content without being around the form tag?

you should put inputs , etc within <form id="algo" method="POST"></form> ? <form id="algo" method="POST"> <input type="text" value="NADA" name="valor1" /> <input type="text" value="TUDO" name="val...
asked by 25.09.2015 / 16:02
1
answer

Payback Notification API does not run

I'm using Pagseguro to manage payments, I use the lightbox method, where I can do everything, including payment (all in sandbox). But at the time of receiving notifications, the file is not being called. Even though you have set up the...
asked by 16.12.2015 / 18:43
1
answer

Request with Volley Webservice does not recognize json

I am trying to do a POST request with Android Volley, but my Webservice does not recognize the json file that is sent as a parameter. With the Google Chrome Postman plugin Webservice consumes perfectly without any problems. Below is my method...
asked by 22.09.2015 / 14:54
1
answer

Print data from a JSON

I have a SQL query that I have already tested and it is bringing the correct result, my difficulty is in creating an array with the row data, transforming it into JSON and printing to the screen. When I try with an array of strings, it works,...
asked by 26.02.2016 / 17:58
2
answers

PHP - Check if there are GET parameters in a URL

Good evening! This question is more for curiosity. I have a page in php that displays certain topics from a phpbb forum. Among the stored data is the path (url) of the topic, which comes in http://meusite.com.br/forum/viewtopic.php?f=yy...
asked by 27.02.2016 / 04:06
1
answer

How to traverse the values of an [object Object]

I need to get the values of each key within a loop . The values are in "Blocks": [ { "estado":"Ceará", "cidade":"Fortaleza", "nome_revendedor":"Zélia", "telefone":"85 9999999", "email":"[email protected]...
asked by 07.01.2016 / 19:25
2
answers

JSON powered by while

I have a graphical counter that is fed by JSON what I wanted to err generate dynamically houses ie having a number of elements stipulated by a variable. Example of what I tried to do: <script type="text/javascript"> // Get the context...
asked by 07.01.2016 / 14:28
2
answers

Problems saving information in a database column

I need to get a typed information and give the uptade in a field (pont), but the field needs to be on the same line as a selected player in my combobox (cmbtime). So when I select the player in the combobox I would already be able to assign the...
asked by 15.09.2015 / 19:44
2
answers

Trying to make login work, but does not show error but does not enter either

I did the php right as my teacher passed, I changed all the names and it's alright, I checked, but when I do the login, it does not go in, it only refreshes the page and it does not redirect to the profile page of the person as it is to be done....
asked by 14.09.2015 / 21:18
1
answer

Passing parameters from one page to another in PHP

I have a data listing on a page. There an 'editing image' serves as a link to another page where this data is displayed again (in addition to the other client data) and it is possible to edit them. As follows, the destination page is edit.php...
asked by 05.08.2015 / 16:41