public function field_count()
    {
        if ($this->statement) {
            return $this->statement->field_count;
        }
        
        if (!$this->mysqli_result) {
            return false;
        }
        
        return $this->mysqli_result->field_count;
    }
public function field_count()
    {
        if ($this->statement) {
            return $this->statement->field_count;
        }
        
        if (!$this->mysqli_result) {
            return false;
        }
        
        return $this->mysqli_result->field_count;
    }
public function field_count ( ) { if ( $ this -> statement ) { return $ this -> statement -> field_count ; } if ( ! $ this -> mysqli_result ) { return false ; } return $ this -> mysqli_result -> field_count ; }
Returns the number of the fields in the result of the last retrieving query.

@return int|false
Returns the number of the fields in the result of the last retrieving query. In the case
of any error returns false.

@author Oleg Schildt
Returns the number of the fields in the result of the last retrieving query .