Posts by André Araujo • 182 points
14 posts
-
0
votes2
answers1035
viewsA: Check for JSON value with PHP
Basically, you can convert this json to an object or array, and then go through all the items that are in the "tested" by making a check if the cc field is not empty. In the example below, I…
phpanswered André Araujo 182 -
1
votes2
answers78
viewsA: Doubt if Else returning 0
The Total Value must perform the operation after the variables valormore and valormac have been treated. As they start with the value 0 at the time of the account they continue with this value,…
-
3
votes2
answers100
viewsA: Why is calling a method not compiling?
The Speak method is found in another class, so that it is accessed through the Main method found in the Program class, the Person class must be instantiated and then call the Speak method, through…
-
1
votes2
answers1431
viewsA: PHP: Notice: Undefined index:
In order for the button to execute capturing the information filled in the form directly, it must be between the form tags and be of type "Submit". By putting the button the way it is, it will only…
phpanswered André Araujo 182 -
1
votes3
answers377
viewsA: Problem with array in Java
Hello, the problem that is happening is that it was just declaring the value for array as new Address, however each item of it is null until initialized, so you will have to do this initialization…
-
1
votes0
answers24
viewsQ: Error sending data via ksoap2 on the jboss webservice
So personal I am not able to send the data via ksoap2 on android. Appears the following error: I honestly did not understand what the problem, so I turned to the stack, because the namespace is…
-
0
votes3
answers587
viewsA: Androidstudio Onclicklistener() error
It seems that this onClickListener is deriving from a class that needs to implement something abstract, so just add the View class before the onClickListener to call it from that class, as follows:…
-
1
votes2
answers276
viewsA: Help with Java Exercise
So the problem is this, you’re not being able to query it because it’s not actually saving the account number, try to create multiple accounts and you’ll see that it will show all, Since there is…
-
2
votes1
answer1426
viewsA: How to place button next to two text fields
If you want to do it this way: I have two solutions, one with Linear another with relative layour, follows the Linear, in it I created other layouts inside, one with vertical orientation to put the…
androidanswered André Araujo 182 -
0
votes0
answers15
viewsQ: Managerengine xml problem
Hello, <operation name="GET_REQUESTS"> <result> <status>Failed</status> <message>POST_ONLY_URL</message> <error_code>4001</error_code> </result>…
-
2
votes2
answers438
viewsA: Bubblesort random numbers
Good to fix your problem just make the following changes, in the first is already add the item in the vector, and instead of vector. Length put vector.Length -1 nos for, generally your code would…
-
1
votes3
answers73
viewsA: Field inside a variable dynamically?
Instead of doing so uses array vetor = new Array(false,true); //declarando e iniciando a array var img = vetor[0]; //atribuindo o valor da posição 0 da array para a variavel if(img == false) { //…
-
-1
votes2
answers45
viewsA: Counting array erroneously
Try to initialize the array before foreach and insert the element into the array by the push method array_push($lines, $result);
phpanswered André Araujo 182 -
0
votes3
answers428
viewsA: What is the relationship between ERI and relational databases?
The DER is the diagram of entities and relationships or you will show the part of it as the entities(tables) of your database are related would be a logical way to represent this relationship, and…