aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-03-30 16:00:19 -0300
committerSilvio <silvio@devlet.com.br>2010-03-30 16:00:19 -0300
commitf1fd206918d6602018002db09b4ebb2cafbeb7a1 (patch)
treec6af053d0482bf9bc90764f77a3352b4b880eb55 /index.php
parent53db217fd2ee8e74895856037b9c98a6acf73159 (diff)
downloadcinisis-f1fd206918d6602018002db09b4ebb2cafbeb7a1.tar.gz
cinisis-f1fd206918d6602018002db09b4ebb2cafbeb7a1.tar.bz2
Minor changes
Diffstat (limited to 'index.php')
-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>';
}