I have this query( the parameters of the query are given by input: both table and name and password are string given by text field.
//...
ResultSet rs = st.executeQuery("select * " + 
                               "from `"+ table + "` " +
                               "where Name='" + name + "' " + 
                               "  and Password='" + password + "'");
and after this i don't understand why i can't enter in this if:
else if (table=="products"){
    // ...
} 
and therefore I can not go along with the program
 
     
     
     
    