Interesting questions
-
-1
votes1
answer70
viewshow to do an input Insert by adding the value to the database column? Mysql + php
I’m a beginner in php and am doing a tcc project of my technical course where, I have to register hours of an employee. how do I do so, by making the value add to what is already registered in the…
-
0
votes1
answer52
viewsContent-Security-Policy + Angular 8
I am applying the following security policy in a project: <meta http-equiv="Content-Security-Policy" content="script-src 'self'; style-src 'self'; img-src 'self';" /> On the console, I get the…
angularasked 6 years, 4 months ago Alessandro 421 -
1
votes1
answer571
viewsHow to get Firebase notifications received in the background?
I implemented the notification service in my app, working, even receives notification in the background, however I wanted to save the notification message, searched a little and created a service (…
-
2
votes1
answer68
viewsHow to create a View for screens with width less than X
I have a site MVC4, which is not responsive, and change all its implementation just to make it responsive does not seem to me at all productive, because it is a site where worked many people and…
-
0
votes2
answers1059
viewsReturn Database Data and List in Combobox
Hello, I would like to be able to return the values of the company table database and for each row that returns go creating an option in the combobox, I would like to know how to do this, I think…
-
0
votes1
answer906
viewsHow to perform calculations on top of a CSV file with Python 2.7?
I am learning some commands for analyzing data extracted from a CSV file and locked in the following situation: I want to use as a basis this CSV to realize the average of the room: Nome;P1;P2;P3…
-
2
votes1
answer81
viewsDelete symbol from the last position of a string, optimally with PHP
I would like to delete the last character of a string if it is a symbol. I know I could do it in a complex way like the following function: $string = "minha_string_com_simbolo_no_final_"; function…
-
0
votes1
answer94
viewsHow to import CSV files from a same level folder (and/or above) in Python?
I have already searched several topics here, unsuccessfully however. So, if there is already an equal question, please forgive me and indicate a solution. My project is articulated as follows:…
-
1
votes1
answer52
viewsCompare array character
I’m developing an IP calculator in PHP. I have a mask array in binary, with 4 positions and at each position has 8 characters, I want to compare each character of each position to know if the bit is…
-
0
votes1
answer76
views.Net Core 2.2 - After publishing a Webapp, the links were not working and the generated HTML code was the same as Razor
I am publishing a Net Core Webapp (version 2.2.108) on the Smaterasp.net host in "self-contained Deployment mode". My file . CSPROJ looks like this: <PropertyGroup>…
-
6
votes3
answers456
viewsWhy does IDLE not finish running the program automatically?
I think it’s more of a curiosity. Unlike other IDE’s, IDLE keeps the program "open" even after the end of its run, while in other IDE’s I need to put something like 'input()' at the end so the…
-
1
votes1
answer68
viewshow to access the webview inside the onBackPressed method on android
Hello, I’m trying to implement the back to the home of my applicator, my app is all built inside the webview, I need to call the javascript Function to return home, because when I click on the back…
-
0
votes1
answer152
viewsGroup By SQL Server function
I’m a beginner in SQL Server, would like a help to understand the function Group By in a simple way. Both your concept and the way to use... for those who can help me thank you already!…
-
0
votes1
answer46
viewsButton does not connect with Javascript to scan
Below are the code of the two pages I am using, the "btnCadastrarUsuario" button should call the js, but when it is clicked appears a blank page written "false". registersComponent.class.php class…
-
0
votes0
answers67
viewsComponete Popover - Submit does not work
Hello! I have the following Pover, but when I start Submit, nothing happens. Can you help me ? $(function() { $('a[rel=popover]').popover({ html: 'true', title: 'Título popover', placement: 'right',…
-
1
votes1
answer59
viewsUpdate field value in Mysql using PHP if condition
I have a table in Mysql named "Register" where it has the following fields: id - Type: Auto Increment - Primary Key dataCadastro - Type: Date statusFK - Values 1 (On) and 2 (Off) ---> In the case…
-
-3
votes1
answer80
viewsDoubt with Bubble Sort
package AlgoritmosII; import javax.swing.*; public class Exercicio //BubbleSort { public static void main(String args[]) { int troca, fim, i, aux, k; int tamanho =…
-
2
votes0
answers107
viewsHow to find an image that is stored in the database and display it in an HTML IMG?
So, I am making a page on which the user uploads an image and it is stored in the database (Mysql). See below how it is stored in the bank: So far so good. Now I would like to take this image and…
-
1
votes1
answer849
viewsError executing query in Postgresql
After executing this query: SELECT p.name as nomerecebe, r.created_at as datarecebimento, r.original_amount as valorboleto, rs.name as statusr, SUM(r.original_amount) as total FROM people as p,…
-
2
votes1
answer1186
viewsHow do I reset the third decimal place in php?
I need a help, I have following problem, I need to round up the third decimal place, as I do? EX: From 3.49 converts to 3.50 From 3.48 converts to 3.50 From 3.43 converts to 3.50 From 3.42 converts…