aboutsummaryrefslogtreecommitdiff
path: root/samples/read.php
diff options
context:
space:
mode:
Diffstat (limited to 'samples/read.php')
-rw-r--r--samples/read.php16
1 files changed, 5 insertions, 11 deletions
diff --git a/samples/read.php b/samples/read.php
index 835ae60..5a5be04 100644
--- a/samples/read.php
+++ b/samples/read.php
@@ -8,21 +8,17 @@ require_once '../index.php';
// Draw the document.
$display = new CinisisDisplayHelper('Isis Reader');
-?>
-
-<table><tr>
-
-<?php
+$display->open_table();
$configs = array(
0 => array(
'implementation' => 'PhpIsis',
'database' => 'dbname',
- ),
+ ),
1 => array(
'implementation' => 'BiblioIsis',
'database' => 'dbname',
- ),
+ ),
);
foreach ($configs as $config) {
@@ -45,7 +41,5 @@ foreach ($configs as $config) {
}
}
-?>
-
-</tr></table>
-</body>
+$display->close_table();
+$display->footer();