aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--query.php7
2 files changed, 5 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 36cb6df..8ae0507 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*.swp
malete
localhost:*
+db/*
diff --git a/query.php b/query.php
index 99e3895..6ef736e 100644
--- a/query.php
+++ b/query.php
@@ -77,11 +77,12 @@ require 'malete/php/Isis.php';
}
?>
-<h3>query reading 1</h3>
+<h3>query reading a record</h3>
<?php
- $r = $db->read(1);
- echo "<pre>---\n", $r->toString(), "---\n</pre>\n";
+ $r = $db->read(522);
+ echo "<pre>---\n", $r->toString(), "---\n</pre><br>\n";
+ print_r($r);
} // end else could contact server
?>