I tried to compare http response value from mysql database to a local string but it fails although string are identical. Have i missed something, a hint might helps perhaps.
ResponseHandler<String> handleResponse = new BasicResponseHandler();
String phpEchoVal = httpclient.execute(httppost, handleResponse);
String containEmail = phpEchoVal.toString();
txtInfo = (TextView)findViewById(R.id.txtVInfo);
if ((containEmail.equals("success"))){
txtInfo.setText(containEmail);
}else {
txtInfo.setText("Exist");
}