Posts by Daniel Rosendo de Souza • 71 points
12 posts
-
0
votes1
answer35
viewsA: Add previous value to current one (FOREACH - PHP)
For a repeat loop to take the previous value to save, we have the following example $valorInicial = 0; foreach($array as $key => $value) { $valorInicial = $valorInicial + $value; } So you would…
phpanswered Daniel Rosendo de Souza 71 -
2
votes3
answers5171
viewsA: Remove string quotes in array
Just use the method .replace() if they occur throughout the process, or .strip() if they occur only at the beginning and/or completion: a = '"sajdkasjdsak" "asdasdasds"' a = a.replace('"', '')…
-
1
votes0
answers35
viewsQ: Doubt Code (Charset) Soapclient Laravel
I would like to understand the reason for this difference in a consultation using the SOAP: In an application the SOAP query returns a string in format ASCII, with special characters of shape of ??…
-
0
votes0
answers24
viewsQ: Doubt Laravel + Ajax
I have the following table below, with a listing, there is a TD, which the user can choose between yes and no, html tag option, would like to know how to make the change from yes to no or…
-
0
votes2
answers125
viewsA: Doubts about the Use of Beautifulsoup
One of the solutions I came across was to take the entire div of history line, and then find/select a href containing that part of words, as follows: def get_genero(soup): genero = soup.find('div',…
-
0
votes2
answers125
viewsQ: Doubts about the Use of Beautifulsoup
My code below is to take the genre of the movies of the site IMDB, however I’m not knowing to take the tag in specific genres of the site, because sometimes instead of it catch the genre he takes…
-
0
votes0
answers37
viewsQ: Error php Grab Column Database
The name of my column in the database is DATA PASSAGE (with this space between words), when I try to access by the html of the error below: I’m in doubt, how can I make php identify this space…
-
0
votes3
answers789
viewsQ: Doubt Passing Laravel Array Routes
The doubt is the following, in my PDF generator, when I click on generate, it generates a pdf with all the information that is contained in the tables of the database, so I’m in doubt dom how to…
-
0
votes0
answers42
viewsQ: Banner Error Bootstrap Site HTML Wordpress
My site published in wordpress contains a following problem, when I decrease the screen of my browser, and click on the 3 bars of my navbar to open the menu, the image tries to follow the navbar,…
-
1
votes1
answer41
viewsQ: Doubt Error Tree in Haskell
My teacher, in a matter of Haskell asked to set tree in the following way: Being that defining this way gives this error: And in many corners of the internet, the tree in Haskell they define using…
-
1
votes1
answer471
viewsQ: Algorithm Graphs to solve Sudoku
I’m having a doubt, my code when it runs in one of the examples of Sudoku, it prints at the end the expected result, the other example of sudoku it does not print correctly the expected result. I’d…
-
1
votes1
answer837
viewsQ: My double chained list is not ordering
Class On Double package ListaDuplamenteEncadeada; public class NoDuplo { private Integer elemento; private NoDuplo anterior; private NoDuplo proximo; public NoDuplo(Integer elemento, NoDuplo…