src/SmartFactory/DatabaseWorkers/MSSQL_DBWorker.php
public function field_by_num($num)
    {
        if (!$this->row) {
            return null;
        }
        
        if (!array_key_exists($num, $this->field_names)) {
            trigger_error("Field with the index $num does not exist in the result set!", E_USER_ERROR);
            return null;
        }
        
        return $this->row[$this->field_names[$num]];
    }
public function field_by_num($num)
    {
        if (!$this->row) {
            return null;
        }
        
        if (!array_key_exists($num, $this->field_names)) {
            trigger_error("Field with the index $num does not exist in the result set!", E_USER_ERROR);
            return null;
        }
        
        return $this->row[$this->field_names[$num]];
    }
public function field_by_num ( $ num ) { if ( ! $ this -> row ) { return null ; } if ( ! array_key_exists ( $ num , $ this -> field_names ) ) { trigger_error ( "Field with the index $num does not exist in the result set!" , E_USER_ERROR ) ; return null ; } return $ this -> row [ $ this -> field_names [ $ num ] ] ; }
Returns the value of a field specified by number.

@param int $num
The number of the field.

@return mixed|null
Returns the value of a field specified by number. In the case
of any error returns null.

@see field_by_name()
@see field_info_by_num()
@see field_name()

@author Oleg Schildt
Returns the value of a field specified by number .