Vote count:
0
As the title says guys..
I've tried several ways like,
public boolean select(String e)
{
boolean flag = database.execSQL("SELECT COUNT(*) FROM USERDATA WHERE email = '"+e+"'");
return flag;
}
or
public void select(String e)
{
database.execSQL("SELECT COUNT(*) FROM USERDATA WHERE email = '"+e+"'");
}
and
if(db.select(e))
asked 45 secs ago
Android Java, Checking if DB SELECT statement has returned a value
Aucun commentaire:
Enregistrer un commentaire