Brimbox Logo Brimbox Version 2.3.4 Released

output_single_row>>

Method to output a single row of data in two columns, the first being the field names, and the second being the data.

Class: bb_reports called as $main

File: bb_reports.php (php)

Declaration:

function output_single_row($result, $params = array())

Usage:

$main->output_single_row($result);

Outputs: a single record in double column format.

Parameter: $result (resultset)
Single row resultset from a query.

Parameter: $params (optional array)
Array of parameters:

  • label_class, class of the field label
  • value_class, class for the data value

Updated: 2016-06-16