aboutsummaryrefslogtreecommitdiff
path: root/tests/index.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-07-23 14:11:20 -0300
committerSilvio <silvio@devlet.com.br>2010-07-23 14:11:20 -0300
commitc33739f87ebf10e494f3c4d16ef4d53876f044f2 (patch)
treeb9118be218bf8e971933c7235a675afacd56e1e2 /tests/index.php
parent746f86a86cb03527ba1d4e695314d7654ecd0766 (diff)
downloadcinisis-c33739f87ebf10e494f3c4d16ef4d53876f044f2.tar.gz
cinisis-c33739f87ebf10e494f3c4d16ef4d53876f044f2.tar.bz2
Adding README and naming changes
Diffstat (limited to 'tests/index.php')
-rw-r--r--tests/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/index.php b/tests/index.php
index 5a14f22..ebd465f 100644
--- a/tests/index.php
+++ b/tests/index.php
@@ -21,13 +21,13 @@ $isis = new CinisisDb();
// Test connection.
if ($isis->db) {
- $result = $isis->db->read(1);
- $rows = $isis->db->rows();
+ $result = $isis->db->read(1);
+ $entries = $isis->db->entries();
// Format output.
echo '<pre>';
echo "Connection test:\n";
- echo "Rows: $rows\n";
+ echo "Rows: $entries\n";
print_r($result);
echo '</pre>';
}