Posts by BrnPer • 125 points
13 posts
-
-1
votes4
answers593
viewsA: Sql - Query of two maximum values
It seems to me that the simplest solution to the problem is this: select codigo,MAX(valor) from minha_tabela group by codigo
-
0
votes1
answer361
viewsA: How to pass the value of a variable from one local class to another class (outside its scope and with public visibility)?
Hello, You can do something like this in first class. Intent intent = new Intent(getBaseContext(), SegundaClasse.class); intent.putExtra("ID da Variavel", valorParaEnviar); startActivity(intent); In…
-
-5
votes4
answers1193
viewsA: Which DBMS to use so that it can be installed on the client’s computer to run a C#application?
Hello, As I said it was a lightweight and needs a server that you have all these functions I advise: the XAMPP is a server that contains Apache, Mariadb (database), Phpmyadmin (may be your DBMS…
-
1
votes1
answer774
viewsA: How to put an integer number on a label
It’s wrong because you’re declaring pont as String and you’re trying to convert " " for Int and as is obvious will give conversion error. It is impossible convert nothing for all, whole must always…
-
0
votes1
answer72
viewsA: Android Development studio
J Matthew. I’ll explain to you briefly the logic of how I did it. I would create a timer that 50 on 50 or 150 on 150, that would draw the text/credits decreasing the position. The code would be…
-
0
votes1
answer87
viewsA: Android studio development
Hello, I avidly advise not using an Imageview for animation purposes and yes a library like libgdx that has support and ease. But the logic I used would be this two Imageview. A Imageview that would…
-
1
votes2
answers124
viewsA: How to get Mysql password for connection using getenv()
Hey, you gotta do something like this. putenv("host=localhost"); putenv("user=root"); putenv("pass= "); $db_host=getenv("host"); $db_user=getenv("user"); $db_pass=getenv("pass"); $db_name="tese";…
-
0
votes4
answers5359
viewsA: Custom font in html/css does not work
Hello, I think the problem is not related to the source location, because otherwise this code: src: url("font/source-sans-pro/SourceSansPro-Regular.ttf"); Already mentioned above would work. I think…
-
0
votes1
answer59
viewsA: Remove input box from canvas
Hey the problem is that the canvas through JS to only way to remove this element is redesign the canvas again. Then you must do something like this: //Limpar o canvas, ou seja a inputbox que já lá…
-
0
votes1
answer159
viewsA: How do I receive user input?
Following the next topic "https://stackoverflow.com/questions/20804135/how-to-get-user-input-in-assembly" "you can use int 0x10 for screen output, int 0x16 for Keyboard input" You can use 0X10…
-
-3
votes2
answers1175
viewsA: How to position the cursor at the beginning of the field?
What I think you’re looking for is at the Click something like controlo.requestFocus() The control of setCaretPosition should automatically focus on index 0, but only after the requestFocus()…
-
1
votes2
answers698
viewsA: PHP Login does not load page
The code is capable of this to have difficulties in this line, because the variable was definite, but it has a value **. if(isset($resultado)){ It should be something like if($resultado!=null){ It…
-
3
votes2
answers38
viewsA: Why aren’t you comparing?
I think the code is not working due to these lines. $data = mysqli_query($dbconn, $query); $result = mysqli_num_rows($dbname); 'Cause you’re looking for the line $dbname not of $date,so the program…