aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
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 071d06d..f5a5704 100644
--- a/index.php
+++ b/index.php
@@ -177,10 +177,13 @@ include('spyc/spyc.php');
<h3>query reading a record</h3>
<?php
- $r = $db->read(3);
+ $r = $db->read(6);
echo "<pre>---\n", $r->toString(), "---\n</pre><br>\n";
echo '<pre>';
- echo print_r($r);
+ //print_r($r);
+ //print_r($r->val[8]);
+ print_r(preg_split('/\t/', $r->val[7]));
+
echo '</pre>';
} // end else could contact server
?>