From f1fd206918d6602018002db09b4ebb2cafbeb7a1 Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 30 Mar 2010 16:00:19 -0300 Subject: Minor changes --- index.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'index.php') 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 '
';
   $result = $db->read(1);
-  //$result = $db->rows();
+  $rows   = $db->rows();
+
+  // Format output.
+  echo '
';
+  echo "Rows: $rows\n";
   print_r($result);
   echo '
'; } -- cgit v1.2.3