SproutCMS

This is the code documentation for the SproutCMS project

function outputSqlResultset()

Renders SQL result set into a table

Usage

int $DbToolsController->outputSqlResultset ( PDOStatement $results [, mixed $headings ] );

Arguments

  1. PDOStatement $results
    Query result
  2. mixed $headings = NULL

Return value

  • int
    Number of rows