|
The mi_value_by_name() function retrieves a column value from a row, given the column name.
The mi_value_by_name() function returns the value for the column that the column_name column name specifies. It retrieves this column value from the row structure that row references. The only difference between mi_value_by_name() and mi_value() is that the former accesses a column by its name while the latter accesses it by column identifier. Like mi_value(), the mi_value_by_name() function is typically called in a loop that terminates when mi_value_by_name() has retrieved values for all the columns in the row. For more information about how to get a value from a column, see the description of mi_value().
See the descriptions of the following functions: mi_collection_fetch(), mi_next_row(), mi_save_set_insert(), and mi_value().
For more information about how to retrieve values, see Obtaining Column Values.