aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());
}