Posts by André Lins • 1,518 points
65 posts
-
1
votes1
answer26
viewsA: Problems with json and php listing
Put it like this: $Puxa_titulo = explode('<div class="gallery-content item-gallery__wrapper" data- gallery-id="default" data-full-images="[' , $dadosSite ); $Titulo = explode(']">' ,…
-
1
votes1
answer130
viewsA: Remove empty Request values from the form
I believe that the Request class does not allow direct modification in it. A possible solution is to do as follows: $count = count($request->item); for($i=0; $i < $count; $i++) { if…
-
4
votes2
answers296
viewsA: Inserting data into an Arraylist
I suggest we analyze your object orientation concepts. The missing has q be created as a simple object and the list is a multiple fouls union and is outside the basic class. Below is the ideal form.…
javaanswered André Lins 1,518 -
1
votes2
answers621
viewsA: Remove specific remarks from Data Frame in R
As you want to remove from the list all that are equal to 2003, just select all that have the T column other than 2003. data <- data[data$T!=2003,]
ranswered André Lins 1,518 -
0
votes1
answer28
viewsA: Read a JS export
Do it this way <script> import {TimeController} from './js/controllers/TimeController'; let timeController = new TimeController(); </script>
javascriptanswered André Lins 1,518 -
2
votes3
answers67
viewsA: Every time I run always print Invalid login
Use the equals method to compare string, as follows if (login.equals(digite)) { }
javaanswered André Lins 1,518 -
0
votes1
answer31
viewsA: How do I make Document w not replace a website code?
Set the id in the tag you want to insert this paragraph with for example "content". And set the content as follows: document.getElementById("content").innerHTML = "<p>New text!</p>";…
javascriptanswered André Lins 1,518 -
0
votes1
answer38
viewsA: IONIC - Platform
In the environment variable JAVA_HOME is set the path of jdk and not jre.
ionicanswered André Lins 1,518 -
1
votes1
answer34
viewsA: Questions about data listing!
Answering every question: 1) My suggestion is to use what makes the most sense for each context. Example: if you have a list of objects and want to take attributes to expose, using while does not…
-
0
votes2
answers223
viewsA: Data insertion error : String data, right truncated: 1406
The error is because you are trying to register an array of dates in a column your type is date. I don’t know if everything was clear to me in your code, but from what I understand you want to save…
-
1
votes1
answer32
viewsA: en - Http Post request error Ionic Probleme No 'Access-Control-Allow-Origin'
If actually the header is giving full access, I suggest using the http package of Ionic and not angular. This is a native package. https://ionicframework.com/docs/native/http…
-
0
votes2
answers55
viewsA: How do I set the state with local dynamic json?
You can simply pass the Recipes within this.state in the constructor. As follows:. constructor(props) { super(props); this.recipes = recipes.results; //json dinâmico local this.state = { receitas:…
-
0
votes1
answer729
viewsA: Laravel consuming API and transforming object to array
Try it like this $dados= json_decode($response->getBody()->getContents())->contas;
-
0
votes1
answer82
viewsA: Ignore Unit test files using jest and webpack
In your build script in the package.json file enter the --ignore option, for example: babel / --out-dir dist --ignore *.spec.js --copy-files
-
1
votes1
answer296
viewsA: Foreach inside foreach with PHP
You are closing the first foreach keys before opening the new foreach. This is happening above the line containing the $url2. Remove this key and place together the second foreach lock key.