public function where($field, $table, $value) {
        static $i = 0;
        $sql = self::resolve_field($field, $table) . ' ';

        if ($value === null) {
            $sql .= 'IS NULL';

        } else {
            $param = 'where' . $i++;
            $sql .= " = :$param";
            $this->params[$param] = $value;
        }

        $this->where[] = $sql;
    }
public function where($field, $table, $value) {
        static $i = 0;
        $sql = self::resolve_field($field, $table) . ' ';

        if ($value === null) {
            $sql .= 'IS NULL';

        } else {
            $param = 'where' . $i++;
            $sql .= " = :$param";
            $this->params[$param] = $value;
        }

        $this->where[] = $sql;
    }
public function where ( $ field , $ table , $ value ) { static $ i = 0 ; $ sql = self :: resolve_field ( $ field , $ table ) . ' ' ; if ( $ value === null ) { $ sql .= 'IS NULL' ; } else { $ param = 'where' . $ i ++ ; $ sql .= " = :$param" ; $ this -> params [ $ param ] = $ value ; } $ this -> where [ ] = $ sql ; }
Simple where conditions.

@param string $field The field, or *.
@param string $table The table name, without the prefix 'glossary_'.
@param mixed $value The value to be equal to.
Simple where conditions .