webCOMAND

row_set::as_array()

Returns an array of associative arrays with keys based on the selected query columns and values from the row.

Prototype

array as_array()

Example

$row_set = $repo->get_rows( "SELECT Identifier WHERE Identifier LIKE '%System%'" );
$rows = $row_set->as_array();
foreach( $rows as $row ) {
	echo( $row['Identifier'] . "\n" );
}