I am querying usernames from database using the get() function in the DB class.. its always returning \'No users\' even if there are users existing in the database.. here is my
Try changing
$sql = "{$action} FROM {$table} WHERE {$field} {$operator} ?";
to
$sql = "{$action} FROM {$table} WHERE {$field} {$operator} {$value}";