protected function unique($input, $table, $column)
    {
        $email = $this->db->get($table, $column, [
            $column => $input
        ]);
        if ($email) {
            var_dump("error: {$column} not unique");
            $this->failed = true;
        }
    }
protected function unique($input, $table, $column)
    {
        $email = $this->db->get($table, $column, [
            $column => $input
        ]);
        if ($email) {
            var_dump("error: {$column} not unique");
            $this->failed = true;
        }
    }
protected function unique ( $ input , $ table , $ column ) { $ email = $ this -> db -> get ( $ table , $ column , [ $ column => $ input ] ) ; if ( $ email ) { var_dump ( "error: {$column} not unique" ) ; $ this -> failed = true ; } }
Check if the given input is unique in the given database table and column.

@param $input
@param $table
@param $column
Check if the given input is unique in the given database table and column .