aboutsummaryrefslogtreecommitdiff
path: root/query.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-02-22 19:39:23 -0300
committerSilvio <silvio@devlet.com.br>2010-02-22 19:39:23 -0300
commitc21cca1f4bfd124e5276ea63a356fbea2dc10f22 (patch)
treeb1419d8daa7dfbc27399a180b680679cfa477bc3 /query.php
parent41da9b143b6e8b65b68c95415cfe302ad0a1ea9d (diff)
downloadcinisis-c21cca1f4bfd124e5276ea63a356fbea2dc10f22.tar.gz
cinisis-c21cca1f4bfd124e5276ea63a356fbea2dc10f22.tar.bz2
Dumping the output
Diffstat (limited to 'query.php')
-rw-r--r--query.php7
1 files changed, 4 insertions, 3 deletions
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
?>