Posts by Juven_v • 2,619 points
158 posts
-
0
votes3
answers555
viewsA: No Return Json to Ajax
In this situation just look at what the ajax request is returning. On the page that makes the request go to inspect elements, network (network) and see what is happening with your request (will vary…
-
0
votes1
answer63
views -
0
votes2
answers136
viewsA: Page does not receive and does not register data in Mysql
If there are no errors, it is because your query is not running. Perform a manual Insert query and see if any error is returned with mysli_error.
-
2
votes2
answers362
viewsA: Date_format does not work in code
The problem is in the function mysql_fetch_array(), it receives two parameters, the first is the variable that received the result of its query, and the second is the type of array to be returned.…
-
0
votes2
answers319
viewsA: How to read multiple Soapobject from a Webservice?
In fact, you cannot convert the return type of the getresponse() method to a vector. What can be done is cast to Soapobject and then access the properties (attributes) of the created object.…
-
3
votes1
answer511
viewsA: Set name for a Foreign Key created from a Migration in Laravel
Pass a second parameter in the Foreign() function. Example: $table->foreign('usuario_id', 'nome_da_foreign_key') // o que você procura ->references('id') ->on('usuario')…
-
1
votes1
answer1150
viewsA: Migration change only the default value of a field - Laravel
Basically something similar should be done to an alter table of sql. In the documentation of the Laravel has a guide for this: modifying columns. Basically you create a Migration and add the…
-
0
votes2
answers2260
viewsA: Store customers inside an Arraylist
Uses a method in the Bank class similar to setCli() of the Account class. Kind of: public class Banco { private ArrayList<Conta> contas; public Banco() { contas = new ArrayList<Conta>();…