Interesting questions
-
0
votes1
answer51
viewsMultiple automatic wheres
I was seeing in the CodeIgniter that there is a way to insert several 'Where' into the class DB: Example: $this->db->where('id', 1) ->where('name', 'Jão') ->where('lastname',…
-
0
votes2
answers498
viewsHow to delete the terminal from what was written when running a C program?
People I am with a tremendous doubt. When I run a program in C it shows the information that are in the terminal. But then I want to delete what was written to show a new information. I have done…
-
1
votes1
answer267
viewsManage Gtk+ window swapping
Hail to you guys, I’m trying to make a program with Gtk+ (python3) to save some information in a comic book but I also want to identify users by login, (Quick explanation on how the program works).…
-
5
votes2
answers466
viewsFind out which table the data is from, in a Union
Hello, I have a php system, using codeigniter, and in it runs the following command: $data['dados_tabelas'] = Tabela1::find_by_sql('SELECT * FROM tabela1) UNION (Select * from tabela2)'); That’s…
sqlasked 11 years, 4 months ago Jonathan Machado 283 -
0
votes1
answer134
views -
1
votes2
answers67
viewsRadio buttom that when selected changes the background of a div and saves the result in the BD
Hello, what I want to do specifically are radio Buttons that when one is activated the background color of the div skirt of the default color (white) and change its background color according to the…
-
-1
votes3
answers115
viewsCheckbox with PHP
The site has 3 checkbox, but I will implement much more. The problem is that my code is not very cool, because I need to calculate the total value Code is like this: $hena = filter_input(INPUT_POST,…
phpasked 9 years, 6 months ago heitor_deep 81 -
1
votes2
answers66
viewsobject1 += object2 is different object1= object1 + object2 in python(3.8)?
objeto1 += objeto2 and objeto1= objeto1 + objeto2 give different results even though the two forms seem equivalent. Could someone explain to me what I’m not realizing? class f(): def…
-
2
votes1
answer56
viewsHow to take only one value of a Random variable and turn it into a constant?
How do I get only one value from a variable you use Random and store in another variable? It is possible? Wanted to store what will appear to the user int cartaUnoPersonagem = new…
-
1
votes1
answer501
viewsautomatic zoom in the image
I have the following code: .zoom { overflow: hidden; } .zoom img { max-width: 100%; -moz-transition: all 0.3s; -webkit-transition: all 0.3s; transition: all 0.3s; } .zoom:hover img { -moz-transform:…
-
1
votes0
answers393
viewsSoftware Nfe in java
I have a project to create an Nfe emitter in Java... But the problem is that I don’t have much idea and much knowledge for the development of this type of project. Does anyone know if they have a…
-
1
votes1
answer52
viewsHow to return warning in a View if there is no data to display?
I created the code below that generates a list. It checks whether the list contains any data saved in it or not. If you have data, returns a View with the list inside, if you have no data, returns…
-
-1
votes3
answers42
viewsc# - Update excel spreadsheet with textbox text
I’m trying to update a spreadsheet data by textbox. I tried the code below and it did not generate any exception, but did not update the spreadsheet. private void button2_Click(object sender,…
-
2
votes1
answer6036
viewsHow to place a border on a <tr> that appears above the edge of the <td>?
I was developing a screen, which contained a table with a style tr:hover for when the user hovers over the lines of it, they look different. Everything was going well until the moment I decided I…
-
2
votes1
answer1137
viewsHow do auto increment in Mysql without declaring columns in INSERT?
I noticed that when I have a column with auto_increment, I have to declare the columns on INSERT. For example, I created this test table: create table teste( id int auto_increment, nome varchar(100)…
-
0
votes1
answer31
viewsProblem displaying a captured json from an API in my column widget - Flutter
I have a problem I couldn’t solve, so I’m coming to you to give me a hand. I’m searching for a json from an API, the data search process goes well (I use a print() that shows me that if I got the…
-
0
votes1
answer39
viewsDecorative input for certain function
I have always had this doubt, but now I need it. Is there a free script or a website, or simply a name of these BOX where we can shape the message with bold, links, quotes codes etc? like this one…
-
2
votes4
answers182
viewsHow can I get a specific snippet inside a string using PHP?
These are my strings: "banner_2_0_.jpeg", "banner_2_1_.jpeg", "banner_2_2_.jpeg", "banner_2_3_.jpeg" I wanted to get the number that be varying
phpasked 9 years, 8 months ago Lucas Gabriel Sousa 57 -
0
votes1
answer5767
viewsHow to select with an array?
Good is the following I have an array designated by $posts, this $posts array is an array containing several things, such as: Work, Dinner, House, Outside. What I want is to select a table in the…
-
1
votes0
answers182
viewsProblems to compile in Android Studio
I created my first Project in Android Studio defining as Minimums SKD the API 23 Android 6.0 (Marshmallow). Then I created a virtual device in AVD Manager with the following settings: Nexus 5 API 24…