Posts by Felipe • 219 points
20 posts
-
-1
votes1
answer53
viewsQ: Problem with a one-way structure
Well I made a method to change password where it does a select in the database to see if the login and password entered are equal in the database String sql = "SELECT id_usuario,nome,senha FROM…
-
0
votes1
answer45
viewsQ: Problem with a method
good i have a method on the button to call my validation: public void valida2(){ String Login = jLogin.getText(), Senha=jSenha.getText(); Usuario u = new Usuario(Login,Senha); UsuarioDAO dao = new…
-
0
votes1
answer59
viewsQ: Doubts when applying a DAO method
Well I have 2 classes the User class and the Request class my user class is like this: public class Usuario { private static Usuario instance; private Long id; private String login; private String…
-
0
votes1
answer35
viewsQ: Problem in a connection class
well I’m with this error in my connection class: Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql///helpsemeq I don’t know which part I got wrong in the code: package…
-
1
votes0
answers234
viewsQ: How to close the current screen after opening a new javafx
well I have this code that will open a new screen but the old screen is still open: if (conn.resultset.next()) { MenuPrincipal p = new MenuPrincipal (); code: /* * To change this license header,…
-
-1
votes1
answer34
viewsQ: I have two methods to do a validation like leave in only one?
connection class: public class ConnectionFactory { private static final String DRIVER = "com.mysql.jdbc.Driver"; private static final String URL =…
-
-1
votes1
answer40
viewsQ: login/password data validation
created 2 classes one of connection and the other how I could do a login/password validation with these two classes connection /* * To change this license header, choose License Headers in Project…
-
-1
votes1
answer39
viewsQ: java database connection
Well I did a class to make the connection with fingered bank: /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools |…
-
1
votes2
answers19
viewsQ: button opening a new problem Activity in a class
package com.ftc; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class…
-
1
votes2
answers908
viewsQ: bootstrap icons
I’m trying to get an icon bootstrap, but I’m not getting it.. <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,…
-
2
votes2
answers60
viewsQ: problem leaving a text on the left and 2 items on the right
.col-item { border: 1px solid #E1E1E1; border-radius: 5px; background: #000; } .col-item .photo img { margin: 0 auto; width: 100%; } .col-item .info { padding: 10px; border-radius: 0 0 5px 5px;…
-
1
votes1
answer107
viewsQ: problem with a grid bootstrap
I’m not getting to take away this separation that’s next to the add cart. html code: <div class="container"> <div class="row"> <div class="item"> <div class="row"> <div…
-
0
votes1
answer44
viewsQ: How to get mysql data for a shopping cart
Well, I’d like to know if there’s a better way: he looks for everything that has skin_type==2, and I wanted to make several types to sell, I would have a way to pick up item by item and put in a div…
-
1
votes1
answer135
viewsQ: Problem with grid bootstrap
<! carousel--> <div class="container bg-danger"> <div class="row"> <div class=".col-4 mt-3 mr-4"> <div class="boxonee ">teste xd</div> </div> <div…
-
1
votes1
answer43
viewsQ: problem with a container leaves in horizontal
I am trying to let this 3 box + box horizontal I used mr-auto to leave the Carousel on the right and ml-auto in the box to stay left and tried to use a d-inline-block, but it wasn’t... ( I’m using…
-
-4
votes2
answers177
viewsQ: How to send the password already with the hash to the database
How could I send a hashed password to my database? Code $PDO = db_connect(); $sql = "INSERT INTO users(nome, login, password, email,linkfb) VALUES(:name, :login, :senha, :email, :linkfb)"; $stmt =…
-
1
votes1
answer287
viewsQ: how to horizontal all items of a div
html <div id="containerprodutos" class="containerprodutos"> <div id="containerprodutosfilha" class="containerprodutosfilha"> <h3 class="text-center align-middle"><img…
-
0
votes0
answers29
viewsQ: problem with a script
well I’m making a cart and when you don’t have the quantity in stock the script returns an error but even appearing error is changing the total value: pictures: when you add 3 items when added more…
-
0
votes2
answers47
viewsQ: problem when leaving items horizontally in a div
i wanted to let this img, the name, the input, the change button horizontal, but I’m not getting.. html code: <div id="wrappermenux"> <div id="menupromo"><h3 class="novidades">Meu…
-
0
votes1
answer45
viewsQ: how could I check if the person clicked on a button
<button class="btt"><a href="carrinho.php?prod=<?= $skins['id_skin']?>">Comprar</a></button> good i wanted to check if the person really clicked on the button and if…