SQL Java
Résolu
Bonjour,
je ne comprend pas pourquoi "coucou" ne s'affiche pas alors que c'est bien "PROP00"
Ca me parait bon pourtant..
Merci
je ne comprend pas pourquoi "coucou" ne s'affiche pas alors que c'est bien "PROP00"
rs = stmt.executeQuery( "SELECT * FROM chat where'"+chatSelec+"'= nom;" );
rs.next();
String prop = rs.getString("id_prop");
System.out.println(rs.getString("id_prop"));
if(prop =="PROP00"){
System.out.println("COUCOU");
}
Ca me parait bon pourtant..
Merci