aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-18 13:50:45 -0300
committerSilvio <silvio@devlet.com.br>2010-08-18 13:50:45 -0300
commit219aa7f6b4a19b723b0c25683801b1b5d502e9f4 (patch)
treed9a23b1b882828817df54bfb96c204e33837f908 /samples
parent9d9c1aa8886e3831d21dadef7c4e79c30ae212d6 (diff)
downloadcinisis-219aa7f6b4a19b723b0c25683801b1b5d502e9f4.tar.gz
cinisis-219aa7f6b4a19b723b0c25683801b1b5d502e9f4.tar.bz2
Minor changes
Diffstat (limited to 'samples')
-rw-r--r--samples/malete.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/malete.php b/samples/malete.php
index 5935a83..45abd87 100644
--- a/samples/malete.php
+++ b/samples/malete.php
@@ -18,8 +18,8 @@ $fdt = array(
);
// Database connection setup.
-$db = 'dbname';
-$db = new Isis_Db($fdt, $db, new Isis_Server());
+$db = 'dbname';
+$db = new Isis_Db($fdt, $db, new Isis_Server());
$display->h2('Server');
@@ -52,7 +52,7 @@ else {
}
$display->h3('Query reading a record');
- $r = $db->read(6);
+ $r = $db->read(1);
$display->pre($r->toString());
}