aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/index.php b/index.php
index 37a8117..c15dcfb 100644
--- a/index.php
+++ b/index.php
@@ -29,9 +29,12 @@ $db = new $implementation($schema);
// Test connection.
if ($db) {
- echo '<pre>';
$result = $db->read(1);
- //$result = $db->rows();
+ $rows = $db->rows();
+
+ // Format output.
+ echo '<pre>';
+ echo "Rows: $rows\n";
print_r($result);
echo '</pre>';
}