diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-23 16:25:33 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-23 16:25:33 -0300 |
commit | ddc924d092693c0409810f395bf1c7f89e54483d (patch) | |
tree | 37db499aa478513f8b5f88e527b2d7631c285d02 /samples/malete.php | |
parent | 9fb011b14ef82caf9adf266d81a4984b17280822 (diff) | |
download | cinisis-ddc924d092693c0409810f395bf1c7f89e54483d.tar.gz cinisis-ddc924d092693c0409810f395bf1c7f89e54483d.tar.bz2 |
Minor changes
Diffstat (limited to 'samples/malete.php')
-rw-r--r-- | samples/malete.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/samples/malete.php b/samples/malete.php index 45abd87..21900ed 100644 --- a/samples/malete.php +++ b/samples/malete.php @@ -30,11 +30,13 @@ else { $display->h3("Number of records"); $query = 'Test'; $recs = $db->num_recs($query); - echo "Got ". count($recs) ." terms for '$query'</br>\n"; + echo "Got ". count($recs) ." terms for '$query'"; + $display->br(); $display->h3("Terms beginning with..."); $terms = $db->terms(strtoupper($query)); - echo "Got ". count($terms) ." terms for '$query'</br>\n"; + echo "Got ". count($terms) ." terms for '$query'"; + $display->br(); foreach ($terms as $t) { list($cnt, $term) = explode("\t", $t); @@ -45,7 +47,8 @@ else { $display->h3('Query reading records'); $recs = $db->query(strtoupper($query)); - echo "Got ". count($recs) ." records for '$query'</br>\n"; + echo "Got ". count($recs) ." records for '$query'"; + $display->br(); foreach ($recs as $r) { $display->pre($r->toString()); |