diff options
author | Silvio <silvio@devlet.com.br> | 2010-03-30 16:00:19 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-03-30 16:00:19 -0300 |
commit | f1fd206918d6602018002db09b4ebb2cafbeb7a1 (patch) | |
tree | c6af053d0482bf9bc90764f77a3352b4b880eb55 | |
parent | 53db217fd2ee8e74895856037b9c98a6acf73159 (diff) | |
download | cinisis-f1fd206918d6602018002db09b4ebb2cafbeb7a1.tar.gz cinisis-f1fd206918d6602018002db09b4ebb2cafbeb7a1.tar.bz2 |
Minor changes
-rw-r--r-- | index.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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>'; } |