private function bindFields()
    {
        foreach ($this->fields as $key => $value) {
            $this->statement->bindValue(':' . $key, $value);
        }
    }
private function bindFields()
    {
        foreach ($this->fields as $key => $value) {
            $this->statement->bindValue(':' . $key, $value);
        }
    }
private function bindFields ( ) { foreach ( $ this -> fields as $ key => $ value ) { $ this -> statement -> bindValue ( ':' . $ key , $ value ) ; } }
Binds the values of the fields to insert or update
Binds the values of the fields to insert or update