aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-23 16:25:33 -0300
committerSilvio <silvio@devlet.com.br>2010-08-23 16:25:33 -0300
commitddc924d092693c0409810f395bf1c7f89e54483d (patch)
tree37db499aa478513f8b5f88e527b2d7631c285d02 /samples
parent9fb011b14ef82caf9adf266d81a4984b17280822 (diff)
downloadcinisis-ddc924d092693c0409810f395bf1c7f89e54483d.tar.gz
cinisis-ddc924d092693c0409810f395bf1c7f89e54483d.tar.bz2
Minor changes
Diffstat (limited to 'samples')
-rw-r--r--samples/malete.php9
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());